Beispiel #1
0
        // GET: Booking
        public ActionResult Index(long idServices = 0)
        {
            ViewBag.servicesList = _bookingServices.ServicesList();
            ViewBag.bedsList     = _bookingServices.BedsList();
            ViewBag.roomsList    = _bookingServices.RoomsList();

            if (idServices != 0)
            {
                var services = _bookingServices.GetServices(idServices);
                ViewBag.services = services;
            }
            return(View());
        }