public async Task <IActionResult> AddReport([FromBody] ReportViewModel reportViewModel) { var report = mapper.Map <ReportViewModel, Report>(reportViewModel); report = await reportsProvider.AddReport(report); reportViewModel = mapper.Map <ReportViewModel>(report); return(Ok(reportViewModel)); }