public ShareActivityProductConfig GetShareActivityProductConfig(int id) { try { return(DALShareActivityProductConfig.GetShareActivityProductConfig(id)); } catch (TuhuBizException) { throw; } catch (Exception ex) { var exception = new ShareActivityProductConfigException(1, "GetShareActivityProductConfig", ex); Logger.Log(Level.Error, exception, "GetShareActivityProductConfig"); throw ex; } }
public bool InsertShareActivityProductConfig(ShareActivityProductConfig model) { try { return(DALShareActivityProductConfig.InsertShareActivityProductConfig(model)); } catch (TuhuBizException) { throw; } catch (Exception ex) { var exception = new ShareActivityProductConfigException(1, "InsertShareActivityProductConfig", ex); Logger.Log(Level.Error, exception, "InsertShareActivityProductConfig"); throw ex; } }
public List <ShareActivityProductConfig> GetShareActivityProductConfigList(ShareActivityProductConfig model, int pageSize, int pageIndex, out int recordCount) { try { return(DALShareActivityProductConfig.GetShareActivityProductConfigList(model, pageSize, pageIndex, out recordCount)); } catch (TuhuBizException) { throw; } catch (Exception ex) { var exception = new ShareActivityProductConfigException(1, "GetShareActivityProductConfigList", ex); Logger.Log(Level.Error, exception, "GetShareActivityProductConfigList"); throw ex; } }