Exemplo n.º 1
0
 public AccountController(
     ILogger <AccountController> logger,
     IAccountService svc,
     IAppMailClient mailer
     ) : base(logger)
 {
     _svc    = svc;
     _mailer = mailer;
 }
Exemplo n.º 2
0
 public ProfileController(
     ILogger <ProfileController> logger,
     IAccountService accountService,
     IDistributedCache cache,
     AccountOptions options,
     IAppMailClient mailer
     ) : base(logger)
 {
     _svc     = accountService;
     _cache   = cache;
     _options = options;
     _mailer  = mailer;
 }
Exemplo n.º 3
0
 public AccountController(
     ILogger <AccountController> logger,
     AccountViewService viewSvc,
     CookieService cookieService,
     IAccountService accountSvc,
     ClientService clientSvc,
     IAppMailClient mailer,
     BrandingOptions branding,
     AccountOptions options,
     IDistributedCache memcache,
     IIdentityServerInteractionService idInteraction
     ) : base(branding, logger)
 {
     _viewSvc     = viewSvc;
     _cookies     = cookieService;
     _accountSvc  = accountSvc;
     _clientSvc   = clientSvc;
     _options     = options;
     _cache       = memcache;
     _interaction = idInteraction;
     _mailer      = mailer;
 }