public bool InsertPointsCenterConfig(PointsCenterConfig model) { try { return(DAlPointsCenterConfig.InsertPointsCenterConfig(model)); } catch (TuhuBizException) { throw; } catch (Exception ex) { var exception = new PointsCenterConfigException(1, "InsertPointsCenterConfig", ex); Logger.Log(Level.Error, exception, "InsertPointsCenterConfig"); throw ex; } }
public bool DeletePointsCenterConfig(int id) { try { return(DAlPointsCenterConfig.DeletePointsCenterConfig(id)); } catch (TuhuBizException) { throw; } catch (Exception ex) { var exception = new PointsCenterConfigException(1, "DeletePointsCenterConfig", ex); Logger.Log(Level.Error, exception, "DeletePointsCenterConfig"); throw ex; } }
public List <PointsCenterConfig> GetPointsCenterConfigList(string sqlStr, int pageSize, int pageIndex, out int recordCount) { try { return(DAlPointsCenterConfig.GetPointsCenterConfigList(sqlStr, pageSize, pageIndex, out recordCount)); } catch (TuhuBizException) { throw; } catch (Exception ex) { var exception = new PointsCenterConfigException(1, "GetPointsCenterConfigList", ex); Logger.Log(Level.Error, exception, "GetPointsCenterConfigList"); throw ex; } }