public void FindCalendar()
        {
            showCalendar();

            RoomCalendar cal = new RoomCalendar
            {
                RoomId = 3,
                Start = 10,
                Length = 5,
                StaffId = 1,
                Date = DateTime.Now,
                RoomCalendarStatusId = 2
            };

            RoomCalendarService.Add(cal);
            RoomCalendarService.Save();

            showCalendar();

            RoomCalendarService.Delete(RoomCalendarService.GetByID(1));
            RoomCalendarService.Save();

            showCalendar();
        }
 public static void Delete(RoomCalendar rc)
 {
     roomCalRepo.Delete(rc);
 }
 public static void Edit(RoomCalendar rc)
 {
     roomCalRepo.Edit(rc);
 }
 public static void Add(RoomCalendar rc)
 {
     roomCalRepo.Add(rc);
 }