예제 #1
0
 public HomeController(IMemoryCache memoryCache, UserContext context, IDocodoService service, SignInManager <User> mngr, IEmailSender emailSender, IConfiguration configuration)
 {
     smngr         = mngr;
     docodo        = service;
     _context      = context;
     Cache         = memoryCache;
     _emailSender  = emailSender;
     Configuration = configuration;
 }
 public SearcherController(IDocodoService docodoService, SignInManager <User> mgr) : base()
 {
     docodo        = docodoService;
     signInManager = mgr;
     userManager   = mgr.UserManager;
 }
 public SettingsModel(IDocodoService service)
 {
     _service = service;
     langs    = _service.getLanguages();
     index    = service.getBaseIndex();
 }