public bool InsertBusinessKeywordsConfig(BusinessKeywordsConfig model) { try { return(DALBusinessKeywordsConfig.InsertBusinessKeywordsConfig(model)); } catch (TuhuBizException) { throw; } catch (Exception ex) { var exception = new BusinessKeywordsConfigException(1, "InsertBusinessKeywordsConfig", ex); Logger.Log(Level.Error, exception, "InsertBusinessKeywordsConfig"); throw ex; } }
public bool DeleteBusinessKeywordsConfig(int id) { try { return(DALBusinessKeywordsConfig.DeleteBusinessKeywordsConfig(id)); } catch (TuhuBizException) { throw; } catch (Exception ex) { var exception = new BusinessKeywordsConfigException(1, "DeleteBusinessKeywordsConfig", ex); Logger.Log(Level.Error, exception, "DeleteBusinessKeywordsConfig"); throw ex; } }
public List <BusinessKeywordsConfig> GetBusinessKeywordsConfigList(string sqlStr, int pageSize, int pageIndex, out int recordCount) { try { return(DALBusinessKeywordsConfig.GetBusinessKeywordsConfigList(sqlStr, pageSize, pageIndex, out recordCount)); } catch (TuhuBizException) { throw; } catch (Exception ex) { var exception = new BusinessKeywordsConfigException(1, "GetBusinessKeywordsConfigList", ex); Logger.Log(Level.Error, exception, "GetBusinessKeywordsConfigList"); throw ex; } }