private static PayPeriodDTO MapForPPEndWeek(WeekDTO currentWeek) { var previous = currentWeek.Previous(); return(new PayPeriodDTO() { PayPeriodStart = previous.WeekStart, PayPeriodEnd = currentWeek.WeekEnd, StartWeekId = previous.WeekId.Value, EndWeekId = currentWeek.WeekId.Value }); }