Exemplo n.º 1
0
 public GroupLogic(IAppCentralAppContext db, ICoreAppInfo app)
 {
     _db      = db;
     _appInfo = app;
     //_appInfoLogic = appInfoLogic;
     //_db.SetApplication(_appInfo.AppId);
 }
Exemplo n.º 2
0
 public RoleLogic(IAppCentralAppContext db, ICoreAppInfo app)//, IAppInfoLogic appInfoLogic)
 {
     _ctx     = db;
     _appInfo = app;
     //_appInfoLogic = appInfoLogic;
     //_appInfoLogic.FullInitialize(_appInfo);
     //_ctx.SetApplication(_appInfo.AppId);
 }
 public PopulationLogic(IAppCentralAppContext ctx, ICoreAppInfo app, IPerson banner, IAppCentralUserLogic userlogic)//, IAppInfoLogic appInfoLogic)
 {
     _ctx       = ctx;
     _appInfo   = app;
     _banner    = banner;
     _userlogic = userlogic;
     //_appInfoLogic = appInfoLogic;
     //_appInfoLogic.FullInitialize(_appInfo);
     //_ctx.SetApplication(_appInfo.AppId);
 }
Exemplo n.º 4
0
 public FileLogic(IAppCentralAppContext db, ICoreAppInfo app)
 {
     _db      = db;
     _appInfo = app;
     _path    = "UploadPath".SystemConfiguration();
     if (_path.StartsWith("~/"))
     {
         _path = System.Web.Hosting.HostingEnvironment.MapPath(_path);
     }
 }