public ActionResult RinkBooking(JSONSession Bookings)
        {
            BookingUtilities.BookSession(Bookings);
            JsonResult j = new JsonResult();

            j.Data = "Success";
            return(j);
        }
Example #2
0
        public ActionResult Index()
        {
            //BookingUtilities bu = new BookingUtilities();

            return(View(BookingUtilities.PrepareModel(new DateTime(2013, 10, 01))));
        }
 public ActionResult GetBookingDetails(string DateRequested)
 {
     return(PartialView("_RinkSheetPartial", BookingUtilities.PrepareModel(DateTime.Parse(DateRequested))));
 }
        public JsonResult AjaxShowBookingForm(string RequestedDate)
        {
            ShowDayViewModel sdv = BookingUtilities.PrepareModel(DateTime.Parse(RequestedDate));

            return(Json(sdv));
        }