public CacheController(PyStudioDBContext context, IMemoryCache memoryCache, IHostingEnvironment hostingEnvironment, IOptions <PySelfSetting> pySelfSetting) { _cache = memoryCache; _context = context; _hostingEnvironment = hostingEnvironment; _pySelfSetting = pySelfSetting.Value; }
public AccountController(PyStudioDBContext context, IOptions <PySelfSetting> selfSetting, IHostingEnvironment hostingEnvironment, IMemoryCache cache) { _context = context; _selfSetting = selfSetting.Value; _hostingEnvironment = hostingEnvironment; _cache = cache; }
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; }
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; }