public static void InitializeFor(this BookingCalendarModel model, DateTime date, int eventId)
 {
     model.CurrentDateTicks           = date.Ticks;
     model.Dates                      = CalendarUtility.CalculateBookingDates(date, eventId);
     model.CanNavigateToPreviousWeek  = CalendarUtility.CanNavigateToPreviousWeek(date);
     model.CanNavigateToPreviousMonth = CalendarUtility.CanNavigateToPreviousMonth(date);
 }
 public BookingModel()
 {
     Events        = new List <Event>();
     CalendarModel = new BookingCalendarModel();
 }