// GET: Slots/Park public ActionResult UnPark(int id) { if (ModelState.IsValid) { _slot.UnPark(id); _context.SaveChanges(); } return(RedirectToAction("Index")); }