예제 #1
0
        public virtual ActionResult List(ListPointPolicies request)
        {
            if (ModelState.IsValid)
            {
                ModelState.Clear();

                request.Query();
            }
            return(View("List", request));
        }
예제 #2
0
        public ActionResult Deletes(ListPointPolicies request)
        {
            var ids = request.CheckItems.GetCheckedIds();

            foreach (var id in ids)
            {
                request.Delete(id);
            }

            return(List(request));
        }
예제 #3
0
 public ActionResult Delete(int id, ListPointPolicies request)
 {
     request.Delete(id);
     return(List(request));
 }
예제 #4
0
 public ActionResult Suspend(int id, ListPointPolicies request)
 {
     request.Suspend(id);
     return(List(request));
 }