local-mcp problemi giderildi.

This commit is contained in:
Sedat ÖZTÜRK 2026-10-05 22:17:29 +03:00
parent 2d59f7116a
commit a09f71521f
3 changed files with 3 additions and 3 deletions

View file

@ -591,7 +591,7 @@ public class McpDevelopAppService(
public async Task<ModuleDocDto> GetModuleDocAsync(string name)
{
await EnsureToolAllowedAsync(McpToolNames.GetModuleDoc);
return await moduleDocAppService.GetAsync(name);
return await moduleDocAppService.GetByNameAsync(name);
}
public async Task<ModuleDocDto> SaveModuleDocAsync(string name, string content)

View file

@ -19,7 +19,7 @@ public interface IModuleDocAppService : IApplicationService
/// Dokumani adiyla (<c>HrPerformance</c>) ya da ait oldugu ekranin kodu/wizard dosya adiyla
/// (<c>App.Hr.PerformanceReview</c>, <c>PerformanceReview.json</c>) dondurur.
/// </summary>
Task<ModuleDocDto> GetAsync(string name);
Task<ModuleDocDto> GetByNameAsync(string name);
/// <summary>
/// Dokumanin elle yazilan bolumlerini kaydeder; otomatik envanter bolumu girdiden atilir ve

View file

@ -16,7 +16,7 @@ public class ModuleDocAppService(ModuleDocManager manager) : PlatformAppService,
{
public Task<List<ModuleDocDto>> GetListAsync() => manager.GetListAsync();
public Task<ModuleDocDto> GetAsync(string name) => manager.GetAsync(name);
public Task<ModuleDocDto> GetByNameAsync(string name) => manager.GetAsync(name);
[Authorize(AppCodes.Listforms.Wizards.Update)]
public Task<ModuleDocDto> SaveAsync(ModuleDocSaveInput input)