示例#1
0
        public ActionResult DeleteSpecial(int id)
        {
            specialRepo.Delete(id);

            return(RedirectToAction("Specials"));
        }
示例#2
0
        public ActionResult DeleteVehicle(int id)
        {
            vehicleRepo.Delete(id);

            return(RedirectToAction("vehicles"));
        }