public bool InsertPointsTransactionDescriptionConfig(PointsTransactionDescriptionConfig model) { try { return(DALPointsTransactionDescriptionConfig.InsertPointsTransactionDescriptionConfig(model)); } catch (TuhuBizException) { throw; } catch (Exception ex) { var exception = new PointsTransactionDescriptionConfigException(1, "InsertPointsTransactionDescriptionConfig", ex); Logger.Log(Level.Error, exception, "InsertPointsTransactionDescriptionConfig"); throw ex; } }
public bool DeletePointsTransactionDescriptionConfig(string id) { try { return(DALPointsTransactionDescriptionConfig.DeletePointsTransactionDescriptionConfig(id)); } catch (TuhuBizException) { throw; } catch (Exception ex) { var exception = new PointsTransactionDescriptionConfigException(1, "DeletePointsTransactionDescriptionConfig", ex); Logger.Log(Level.Error, exception, "DeletePointsTransactionDescriptionConfig"); throw ex; } }
public List <PointsTransactionDescriptionConfig> GetPointsTransactionDescriptionConfigList(string sqlStr, int pageSize, int pageIndex, out int recordCount) { try { return(DALPointsTransactionDescriptionConfig.GetPointsTransactionDescriptionConfigList(sqlStr, pageSize, pageIndex, out recordCount)); } catch (TuhuBizException) { throw; } catch (Exception ex) { var exception = new PointsTransactionDescriptionConfigException(1, "GetPointsTransactionDescriptionConfigList", ex); Logger.Log(Level.Error, exception, "GetPointsTransactionDescriptionConfigList"); throw ex; } }