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