示例#1
0
        public async Task <IActionResult> UploadStats([FromQuery] DateRangeViewModel range)
        {
            AdminOverViewResult Result = await _mediatr.Send(new GetUploadStatsQuery(range.Start, range.End));

            return(HandleResult(Result, Result.FilesCount));
        }
示例#2
0
        public async Task <IActionResult> OverView([FromQuery] DateRangeViewModel range)
        {
            AdminOverViewResult Result = await _mediatr.Send(new GetAdminOverViewQuery(range.Start, range.End));

            return(HandleResult(Result));
        }