local-mcp problemi giderildi.
This commit is contained in:
parent
2d59f7116a
commit
a09f71521f
3 changed files with 3 additions and 3 deletions
|
|
@ -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)
|
||||
|
|
|
|||
|
|
@ -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
|
||||
|
|
|
|||
|
|
@ -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)
|
||||
|
|
|
|||
Loading…
Reference in a new issue