public bool UpdateDownloadApp(Tuhu.Provisioning.DataAccess.Entity.DownloadApp model, int id) { try { return(handler.UpdateDownloadApp(model, id)); } catch (TuhuBizException) { throw; } catch (Exception ex) { var exception = new DownloadAppException(1, "UpdateDownloadApp", ex); Logger.Log(Level.Error, exception, "UpdateDownloadApp"); throw ex; } }
public List <Tuhu.Provisioning.DataAccess.Entity.DownloadApp> GetDownloadAppList(Tuhu.Provisioning.DataAccess.Entity.DownloadApp model, int pageSize, int pageIndex, out int recordCount) { string strConn = ConfigurationManager.ConnectionStrings["Aliyun"].ConnectionString; strConn = SecurityHelp.IsBase64Formatted(strConn) ? SecurityHelp.DecryptAES(strConn) : strConn; SqlConnection conn = new SqlConnection(strConn); return(DALDownloadApp.GetDownloadAppList(conn, model, pageSize, pageIndex, out recordCount)); }
public bool UpdateDownloadApp(Tuhu.Provisioning.DataAccess.Entity.DownloadApp model, int id) { return(dbManager.Execute(conn => DALDownloadApp.UpdateDownloadApp(conn, model, id))); }
public bool InsertDownloadApp(Tuhu.Provisioning.DataAccess.Entity.DownloadApp model) { return(dbManager.Execute(conn => DALDownloadApp.InsertDownloadApp(conn, model))); }
public List <Tuhu.Provisioning.DataAccess.Entity.DownloadApp> GetDownloadAppList(Tuhu.Provisioning.DataAccess.Entity.DownloadApp model, int pageSize, int pageIndex, out int recordCount) { try { return(handler.GetDownloadAppList(model, pageSize, pageIndex, out recordCount)); } catch (TuhuBizException) { throw; } catch (Exception ex) { var exception = new DownloadAppException(1, "GetDownloadAppList", ex); Logger.Log(Level.Error, exception, "GetDownloadAppList"); throw ex; } }