Пример #1
0
 public async Task <ReportTemplate> PostReportTemplate(ReportTypeEnum reportType, [FromBody] ReportTemplate reportTemplate)
 {
     return(await _reportDataCommand.PostReportTemplate(reportTemplate, UserContext));
 }
Пример #2
0
 public async Task <ReportTemplate> PostReportTemplate(ReportTypeEnum reportType, [FromBody] ReportTemplate reportTemplate)
 {
     RequireOneOf(CustomRole.MPReportAdmin);
     return(await _reportDataCommand.PostReportTemplate(reportTemplate, VerifiedUserContext));
 }