Exemplo n.º 1
0
 public CacheController(PyStudioDBContext context, IMemoryCache memoryCache, IHostingEnvironment hostingEnvironment, IOptions <PySelfSetting> pySelfSetting)
 {
     _cache              = memoryCache;
     _context            = context;
     _hostingEnvironment = hostingEnvironment;
     _pySelfSetting      = pySelfSetting.Value;
 }
Exemplo n.º 2
0
 public AccountController(PyStudioDBContext context, IOptions <PySelfSetting> selfSetting, IHostingEnvironment hostingEnvironment, IMemoryCache cache)
 {
     _context            = context;
     _selfSetting        = selfSetting.Value;
     _hostingEnvironment = hostingEnvironment;
     _cache = cache;
 }
Exemplo n.º 3
0
 public BaseInfoController(PyStudioDBContext context, IOptions <PySelfSetting> pySelfSetting, IMemoryCache cache, IHostingEnvironment hostingEnvironment)
 {
     _context            = context;
     _pySelfSetting      = pySelfSetting.Value;
     _cache              = cache;
     _repository         = new Repository <InfoArea>(_context);
     _repositoryEi       = new Repository <InfoEi>(_context);
     _hostingEnvironment = hostingEnvironment;
 }
 public BaseManageController(WeiHeMuStoreDBContext context, IOptions <PySelfSetting> pySelfSetting, IHostingEnvironment hostingEnvironment)
 {
     _context            = context;
     _pySelfSetting      = pySelfSetting.Value;
     _hostingEnvironment = hostingEnvironment;
 }
 public MemberController(PyStudio_NetCoreContext context, IOptions <PySelfSetting> selfSetting, IMemoryCache cache)
 {
     _context     = context;
     _selfSetting = selfSetting.Value;
     _cache       = cache;
 }
Exemplo n.º 6
0
 public UserCenterController(PyStudio_NetCoreContext db, IOptions <PySelfSetting> selfSetting)
 {
     _db          = db;
     _selfSetting = selfSetting.Value;
 }
 public UserCenterApiController(PyStudioDBContext context, IOptions <PySelfSetting> pySelfSetting, IHostingEnvironment hostingEnvironment)
 {
     _context            = context;
     _pySelfSetting      = pySelfSetting.Value;
     _hostingEnvironment = hostingEnvironment;
 }