public bool InsertBaoYangPackageActivityConfig(BaoYangPackageActivityConfig model) { try { return(DalBaoYangPackageActivityConfig.InsertBaoYangPackageActivityConfig(model)); } catch (TuhuBizException) { throw; } catch (Exception ex) { var exception = new BaoYangPackageActivityConfigException(1, "InsertBaoYangPackageActivityConfig", ex); Logger.Log(Level.Error, exception, "InsertBaoYangPackageActivityConfig"); throw ex; } }
public bool DeleteBaoYangPackageActivityConfig(int id) { try { return(DalBaoYangPackageActivityConfig.DeleteBaoYangPackageActivityConfig(id)); } catch (TuhuBizException) { throw; } catch (Exception ex) { var exception = new BaoYangPackageActivityConfigException(1, "DeleteBaoYangPackageActivityConfig", ex); Logger.Log(Level.Error, exception, "DeleteBaoYangPackageActivityConfig"); throw ex; } }
public List <BaoYangPackageActivityConfig> GetBaoYangPackageActivityConfigList(string sqlStr, int pageSize, int pageIndex, out int recordCount) { try { return(DalBaoYangPackageActivityConfig.GetBaoYangPackageActivityConfig(sqlStr, pageSize, pageIndex, out recordCount)); } catch (TuhuBizException) { throw; } catch (Exception ex) { var exception = new BaoYangPackageActivityConfigException(1, "GetBaoYangPackageActivityConfigList", ex); Logger.Log(Level.Error, exception, "GetBaoYangPackageActivityConfigList"); throw ex; } }