public ActionResult Delete(int id, RestaurantBusiness.Restaurant rest) { try { // TODO: Add delete logic here rutility.DeleteRestaurant(id); return(RedirectToAction("Index")); } catch (Exception e) { log = LogManager.GetLogger("errors"); log.Error($"[Restaurants Controller] [Details] Exception thrown: {e.Message}"); return(View()); } }