private DateTime GetWeekStart() { var daysToSubtract = ((LastWeeks - 1) * 7) - 1; var wkEnd = EndDate.BeginningOfWeek().AddDays(-1); return(wkEnd.AddDays(-daysToSubtract)); }
private DateTime GetWeekStart() { var daysToSubtract = ((LastWeeks - 1) * 7) - 1; var wkEnd = EndDate.BeginningOfWeek().AddDays(-1); return(wkEnd.AddDays(-daysToSubtract)); }