public ActionResult DeleteConfirmed(int id) { _repository.DeleteSlot(id); return(RedirectToAction("Index")); }