public ActionResult Deletes(listOrders request) { var ids = request.CheckItems.GetCheckedIds(); foreach (var id in ids) { request.Delete(id); } return(List(request)); }
public ActionResult Delete(int id, listOrders request) { request.Delete(id); return(List(request)); }