コード例 #1
0
        public async Task <IActionResult> CheckThemeReportAsync(int reportId)
        {
            var moderId = GetCurrentUserId();

            if (!themeService.IsModeratingThemeReport(moderId, reportId))
            {
                return(Forbid());
            }
            await themeService.CheckReportAsync(reportId);

            return(Ok());
        }