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