public bool InsertPersonalCenterFunctionConfig(PersonalCenterFunctionConfig model) { try { return(DALPersonalCenterFunctionConfig.InsertPersonalCenterFunctionConfig(model)); } catch (TuhuBizException) { throw; } catch (Exception ex) { var exception = new PersonalCenterFunctionConfigException(1, "InsertPersonalCenterFunctionConfig", ex); Logger.Log(Level.Error, exception, "InsertPersonalCenterFunctionConfig"); throw ex; } }
public bool DeletePersonalCenterFunctionConfig(int id) { try { return(DALPersonalCenterFunctionConfig.DeletePersonalCenterFunctionConfig(id)); } catch (TuhuBizException) { throw; } catch (Exception ex) { var exception = new PersonalCenterFunctionConfigException(1, "DeletePersonalCenterFunctionConfig", ex); Logger.Log(Level.Error, exception, "DeletePersonalCenterFunctionConfig"); throw ex; } }
public List <PersonalCenterFunctionConfig> GetPersonalCenterFunctionConfigList(PersonalCenterFunctionConfig sqlStr, int pageSize, int pageIndex, out int recordCount) { try { return(DALPersonalCenterFunctionConfig.GetPersonalCenterFunctionConfigList(sqlStr, pageSize, pageIndex, out recordCount)); } catch (TuhuBizException) { throw; } catch (Exception ex) { var exception = new PersonalCenterFunctionConfigException(1, "GetPersonalCenterFunctionConfigList", ex); Logger.Log(Level.Error, exception, "GetPersonalCenterFunctionConfigList"); throw ex; } }