public ActionResult Delete(int id) { BLLServiceGateway<Food> gate = new BLLServiceGateway<Food>(); gate.DeleteItems("api/Food/" + id + ""); return RedirectToAction("Index"); }
public ActionResult DeleteSushiTake(int id) { BLLServiceGateway<Menu> gate = new BLLServiceGateway<Menu>(); gate.DeleteItems("api/Menu/" + id + ""); return RedirectToAction("AdminSushiTake"); }
public ActionResult DeleteChineseBuffet(int id) { BLLServiceGateway<Menu> gate = new BLLServiceGateway<Menu>(); gate.DeleteItems("api/Menu/" + id + ""); return RedirectToAction("AdminChineseBuffet"); }