Beispiel #1
0
 public async Task AddReport(ReportToAddDto reportToAdd)
 {
     var companyId = (Guid)_soldierRepository.GetById(reportToAdd.SoldierId).Result.CompanyId;
     var report    = ReportMapper.AddReportMap(reportToAdd, companyId);
     await _reportRepository.AddReport(report);
 }