public ActionResult FillPropertySearchGrid(PropertyManagementModel.PropertySearch model) { try { return(Json((new PropertyManagementModel()).FillPropertySearchGrid(model), JsonRequestBehavior.AllowGet)); } catch (Exception ex) { return(Json(new { error = ex.Message }, JsonRequestBehavior.AllowGet)); } }
public ActionResult BuildPaganationPropList(PropertyManagementModel.PropertySearch model) { try { return(Json(new { NOP = (new PropertyManagementModel()).BuildPaganationPropList(model) }, JsonRequestBehavior.AllowGet)); } catch (Exception ex) { return(Json(new { error = ex.Message }, JsonRequestBehavior.AllowGet)); } }