public ActionResult Edit(SlotViewModel slotViewModel)
 {
     if (ModelState.IsValid)
     {
         _repository.SlotSaveChanges(slotViewModel.SlotDetail);
         return(RedirectToAction("Index"));
     }
     return(View(slotViewModel));
 }