public IActionResult Index()
        {
            if (!Authentication.AuthenticateByCookie(HttpContext))
            {
                return(Redirect("/Receptionists/Authentication/Login?Area=Receptionists&Ctrl=Rooms&Act=Index"));
            }

            BookingDAO.Update();

            List <string> StylesSelected = new List <string>();
            List <string> SizesSelected  = new List <string>();

            foreach (var roomstyle in RoomStyleDAO.GetAllRoomStyle())
            {
                StylesSelected.Add(roomstyle.RoomStyleID.ToString());
            }

            foreach (var roomsize in RoomSizeDAO.GetAllRoomSize())
            {
                SizesSelected.Add(roomsize.RoomSizeID.ToString());
            }

            ViewBag.StylesSelected = StylesSelected;
            ViewBag.SizesSelected  = SizesSelected;
            ViewData.Model         = RoomsDAO.GetRoomsViewModel();

            return(View());
        }
        public IActionResult RoomsManagement()
        {
            if (!Authentication.AuthenticateByCookie(HttpContext))
            {
                return(Redirect("/Receptionists/Authentication/Login?Area=Receptionists&Ctrl=Rooms&Act=RoomsManagement"));
            }

            RoomsManagerViewModel model = new RoomsManagerViewModel();

            model.RoomModels     = RoomsDAO.GetAllRoomsModel();
            model.RoomSizes      = RoomSizeDAO.GetAllRoomSize();
            model.RoomStyles     = RoomStyleDAO.GetAllRoomStyle();
            model.RoomTypeModels = RoomTypeDAO.GetAllRoomTypeModel();
            return(View(model));
        }