public static bool IsWeekend(this DateTime date, DayOfWeek[] weekEnds)
 {
     return weekEnds.All(x => x.IsIn(date.DayOfWeek));
 }