public IActionResult BookLight() { try { BookingLight bookinglight = new BookingLight(); bookinglight.LightList = _ILight.GetAllLight(); bookinglight.LightType = "1"; SetSlider(); return(View(bookinglight)); } catch (Exception) { throw; } }