public ActionResult BuildTenantPetPlaceList(TenantPetSearchListModel model) { try { return(Json(new { NOP = (new TenantPetSearchListModel()).BuildPaganationTenantPetList(model) }, JsonRequestBehavior.AllowGet)); } catch (Exception ex) { return(Json(new { error = ex.Message }, JsonRequestBehavior.AllowGet)); } }
public ActionResult FillTenantPetSearchGrid(TenantPetSearchListModel model) { try { return(Json((new TenantPetSearchListModel()).FillTenantPetSearchGrid(model), JsonRequestBehavior.AllowGet)); } catch (Exception ex) { return(Json(new { error = ex.Message }, JsonRequestBehavior.AllowGet)); } }