public void UpdateReport(CdcReport report, CdcReportDTO reportDTO) { UpdateHedwigIdEntityWithNavigationProperties <CdcReport, CdcReportDTO, int>(report, reportDTO); }
public void UpdateReport(CdcReport report, CdcReportDTO reportDTO) { // Should this be _context.Update(report) as in EnrollmentRepository ? // depends on if we include sub-objets on report that should _not_ be updated UpdateHedwigIdEntityWithNavigationProperties <CdcReport, CdcReportDTO, int>(report, reportDTO); }