public bool InsertRulesDictionaryConfig(RulesDictionaryConfig model) { try { return(DALRulesDictionaryConfig.InsertRulesDictionaryConfig(model)); } catch (TuhuBizException) { throw; } catch (Exception ex) { var exception = new RulesDictionaryConfigException(1, "InsertRulesDictionaryConfig", ex); Logger.Log(Level.Error, "InsertRulesDictionaryConfig", exception); throw ex; } }
public bool DeleteRulesDictionaryConfig(int id) { try { return(DALRulesDictionaryConfig.DeleteRulesDictionaryConfig(id)); } catch (TuhuBizException) { throw; } catch (Exception ex) { var exception = new RulesDictionaryConfigException(1, "DeleteRulesDictionaryConfig", ex); Logger.Log(Level.Error, "DeleteRulesDictionaryConfig", exception); throw ex; } }
public RulesDictionaryConfig GetRulesDictionaryConfigById(int id) { try { return(DALRulesDictionaryConfig.GetRulesDictionaryConfigById(id)); } catch (TuhuBizException) { throw; } catch (Exception ex) { var exception = new RulesDictionaryConfigException(1, "GetRulesDictionaryConfigById", ex); Logger.Log(Level.Error, "GetRulesDictionaryConfigById", exception); throw ex; } }