Example #1
0
 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));
     }
 }
Example #2
0
 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));
     }
 }