sozsoft-platform/api/modules/Sozsoft.Mcp/Sozsoft.Mcp.Application.Contracts/IMcpReportAppService.cs

27 lines
1.2 KiB
C#
Raw Normal View History

2026-10-10 22:03:36 +00:00
using System.Threading.Tasks;
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,
/// 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);
/// <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);
/// <summary>Kategoriyi ada gore kaydeder: yoksa ekler, varsa gunceller.</summary>
2026-10-10 22:03:36 +00:00
Task<McpOutcome<McpReportCategoryDto>> SaveReportCategoryAsync(McpReportCategorySaveRequestDto input);
/// <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-10 22:03:36 +00:00
Task<McpProblem?> DeleteReportTemplateAsync(string template);
}