public bool InsertCouponActivityConfig(CouponActivityConfig model) { try { return(DalCouponActivityConfig.InsertCouponActivityConfig(model)); } catch (TuhuBizException) { throw; } catch (Exception ex) { var exception = new CouponActivityConfigException(1, "InsertCouponActivityConfig", ex); Logger.Log(Level.Error, exception, "InsertCouponActivityConfig"); throw ex; } }
public bool DeleteCouponActivityConfig(int id) { try { return(DalCouponActivityConfig.DeleteCouponActivityConfig(id)); } catch (TuhuBizException) { throw; } catch (Exception ex) { var exception = new CouponActivityConfigException(1, "DeleteCouponActivityConfig", ex); Logger.Log(Level.Error, exception, "DeleteCouponActivityConfig"); throw ex; } }
public List <CouponActivityConfig> GetCouponActivityConfigList(int type, string sqlStr, int pageSize, int pageIndex, out int recordCount) { try { return(DalCouponActivityConfig.GetCouponActivityConfig(type, sqlStr, pageSize, pageIndex, out recordCount)); } catch (TuhuBizException) { throw; } catch (Exception ex) { var exception = new CouponActivityConfigException(1, "GetCouponActivityConfigList", ex); Logger.Log(Level.Error, exception, "GetCouponActivityConfigList"); throw ex; } }