public ActionResult FillNoticeSearchGrid(NoticeModel.NoticeSearchModel model) { try { return(Json((new NoticeModel()).FillNoticeSearchGrid(model), JsonRequestBehavior.AllowGet)); } catch (Exception ex) { return(Json(new { error = ex.Message }, JsonRequestBehavior.AllowGet)); } }
public ActionResult BuildPaganationNoticeList(NoticeModel.NoticeSearchModel model) { try { return(Json(new { NOP = (new NoticeModel()).BuildPaganationNoticeList(model) }, JsonRequestBehavior.AllowGet)); } catch (Exception ex) { return(Json(new { error = ex.Message }, JsonRequestBehavior.AllowGet)); } }