public JsonResult GetWorkCategoryRuleData() { try { BL_WorkCategoryRule obj = new BL_WorkCategoryRule(); return(Json(obj.GetWorkCategoryRuleData(objCurrInfo.GetCompanyCode()), JsonRequestBehavior.AllowGet)); } catch (Exception ex) { return(Json(ex.Message, JsonRequestBehavior.AllowGet)); } }
public JsonResult InsertorUpdateRulesData(RulesDefinitionDataModel objdata) { try { BL_WorkCategoryRule obj = new BL_WorkCategoryRule(); return(Json(obj.InsertorUpdateRulesData(objCurrInfo.GetUserCode(), objdata), JsonRequestBehavior.AllowGet)); } catch (Exception ex) { return(Json(ex.Message, JsonRequestBehavior.AllowGet)); } }