Esempio n. 1
0
 public static CarePackageReclaim ToEntity(this CareChargeReclaimCreationDomain input)
 {
     return(_mapper.Map <CarePackageReclaim>(input));
 }
 private static bool CareChargeHasChanged(CarePackageReclaim existingCareCharge, CareChargeReclaimCreationDomain newCareCharge)
 {
     return(newCareCharge.StartDate.Date != existingCareCharge.StartDate.Date ||
            newCareCharge.EndDate != existingCareCharge.EndDate ||
            newCareCharge.Cost != existingCareCharge.Cost ||
            newCareCharge.ClaimCollector != existingCareCharge.ClaimCollector);
 }