2026-10-10 22:03:36 +00:00
|
|
|
|
using System.Threading.Tasks;
|
2026-10-01 12:01:57 +00:00
|
|
|
|
using Sozsoft.Mcp.Dtos;
|
|
|
|
|
|
using Volo.Abp.Application.Services;
|
|
|
|
|
|
|
|
|
|
|
|
namespace Sozsoft.Mcp;
|
|
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
2026-10-19 14:35:08 +00:00
|
|
|
|
/// Rapor kategorisi ve rapor sablonu uretimi. Yazma <c>Adm.Reports.Categories</c> ve
|
|
|
|
|
|
/// <c>Adm.Reports.ReportTemplates</c> ekranlarinin C/U/D sozlesmesinden gecer; ekran yetkisi,
|
2026-10-01 12:01:57 +00:00
|
|
|
|
/// kiraci filtresi ve seed senkronizasyonu oradaki yolla ayni sekilde uygulanir.
|
|
|
|
|
|
/// </summary>
|
|
|
|
|
|
public interface IMcpReportAppService : IApplicationService
|
|
|
|
|
|
{
|
2026-10-10 22:03:36 +00:00
|
|
|
|
Task<McpOutcome<McpReportCatalogDto>> GetReportTemplatesAsync(string? search);
|
2026-10-01 12:01:57 +00:00
|
|
|
|
|
|
|
|
|
|
/// <summary>Sablonu Id'si ya da adiyla, HTML icerigi ve yer tutuculariyla doner.</summary>
|
2026-10-10 22:03:36 +00:00
|
|
|
|
Task<McpOutcome<McpReportTemplateDto>> GetReportTemplateAsync(string template);
|
2026-10-01 12:01:57 +00:00
|
|
|
|
|
|
|
|
|
|
/// <summary>Kategoriyi ada gore kaydeder: yoksa ekler, varsa gunceller.</summary>
|
2026-10-10 22:03:36 +00:00
|
|
|
|
Task<McpOutcome<McpReportCategoryDto>> SaveReportCategoryAsync(McpReportCategorySaveRequestDto input);
|
2026-10-01 12:01:57 +00:00
|
|
|
|
|
|
|
|
|
|
/// <summary>Sablonu ada gore kaydeder: yoksa ekler, varsa gunceller.</summary>
|
2026-10-10 22:03:36 +00:00
|
|
|
|
Task<McpOutcome<McpReportTemplateDto>> SaveReportTemplateAsync(McpReportTemplateSaveRequestDto input);
|
2026-10-01 12:01:57 +00:00
|
|
|
|
|
2026-10-10 22:03:36 +00:00
|
|
|
|
Task<McpProblem?> DeleteReportTemplateAsync(string template);
|
2026-10-01 12:01:57 +00:00
|
|
|
|
}
|