예제 #1
0
 public bool InsertPersonalCenterConfig(PersonalCenterConfig model)
 {
     try
     {
         return(DALPersonalCenterConfig.InsertPersonalCenterConfig(model));
     }
     catch (TuhuBizException)
     {
         throw;
     }
     catch (Exception ex)
     {
         var exception = new PersonalCenterConfigException(1, "InsertPersonalCenterConfig", ex);
         Logger.Log(Level.Error, exception, "InsertPersonalCenterConfig");
         throw ex;
     }
 }
예제 #2
0
 public bool DeletePersonalCenterConfig(int id)
 {
     try
     {
         return(DALPersonalCenterConfig.DeletePersonalCenterConfig(id));
     }
     catch (TuhuBizException)
     {
         throw;
     }
     catch (Exception ex)
     {
         var exception = new PersonalCenterConfigException(1, "DeletePersonalCenterConfig", ex);
         Logger.Log(Level.Error, exception, "DeletePersonalCenterConfig");
         throw ex;
     }
 }
예제 #3
0
 public List <PersonalCenterConfig> GetPersonalCenterConfigList(string sqlStr, int pageSize, int pageIndex, out int recordCount)
 {
     try
     {
         return(DALPersonalCenterConfig.GetPersonalCenterConfigList(sqlStr, pageSize, pageIndex, out recordCount));
     }
     catch (TuhuBizException)
     {
         throw;
     }
     catch (Exception ex)
     {
         var exception = new PersonalCenterConfigException(1, "GetPersonalCenterConfigList", ex);
         Logger.Log(Level.Error, exception, "GetPersonalCenterConfigList");
         throw ex;
     }
 }