Example #1
0
        public ActionResult IpFormsList()
        {
            var formResponse = IpFormService.GetAllIpForms(new SearchModel
            {
                SearchString = string.Empty,
                Pagging      = new PaggingModel
                {
                    Current     = 0,
                    ItemPerPage = 10
                }
            });

            return(View(formResponse));
        }
Example #2
0
        public JsonResult SearchIpForms(SearchModel model)
        {
            var response = IpFormService.GetAllIpForms(model);

            return(Json(response, JsonRequestBehavior.AllowGet));
        }