public ActionResult FillPetPlaceSearchGrid(PetPlaceListModel model) { try { return(Json((new PetManagementModel()).FillPetPlaceSearchGrid(model), JsonRequestBehavior.AllowGet)); } catch (Exception ex) { return(Json(new { error = ex.Message }, JsonRequestBehavior.AllowGet)); } }
public ActionResult BuildPaganationPetPlaceList(PetPlaceListModel model) { try { return(Json(new { NOP = (new PetManagementModel()).BuildPaganationPetPlaceList(model) }, JsonRequestBehavior.AllowGet)); } catch (Exception ex) { return(Json(new { error = ex.Message }, JsonRequestBehavior.AllowGet)); } }