public bool InsertPersonalCenterConfig(PersonalCenterConfig model) { try { return(DALPersonalCenterConfig.InsertPersonalCenterConfig(model)); } catch (TuhuBizException) { throw; } catch (Exception ex) { var exception = new PersonalCenterConfigException(1, "InsertPersonalCenterConfig", ex); Logger.Log(Level.Error, exception, "InsertPersonalCenterConfig"); throw ex; } }
public bool DeletePersonalCenterConfig(int id) { try { return(DALPersonalCenterConfig.DeletePersonalCenterConfig(id)); } catch (TuhuBizException) { throw; } catch (Exception ex) { var exception = new PersonalCenterConfigException(1, "DeletePersonalCenterConfig", ex); Logger.Log(Level.Error, exception, "DeletePersonalCenterConfig"); throw ex; } }
public List <PersonalCenterConfig> GetPersonalCenterConfigList(string sqlStr, int pageSize, int pageIndex, out int recordCount) { try { return(DALPersonalCenterConfig.GetPersonalCenterConfigList(sqlStr, pageSize, pageIndex, out recordCount)); } catch (TuhuBizException) { throw; } catch (Exception ex) { var exception = new PersonalCenterConfigException(1, "GetPersonalCenterConfigList", ex); Logger.Log(Level.Error, exception, "GetPersonalCenterConfigList"); throw ex; } }