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