public UserSharedService( UserManager <User> userManager, ISharedResources localizer) { this.userManager = userManager; this.localizer = localizer; }
public UsersController( IUserService userService, IUserSession currentUser, ISharedResources localizer) : base(currentUser) { this.userService = userService; this.localizer = localizer; }
public MailjetService( IOptions <MailjetApiSettings> mailjetApiSettings, ILogger <MailjetService> logger, ISharedResources localizer) { this.logger = logger; this.localizer = localizer; this.mailjetApiSettings = mailjetApiSettings.Value; }
public LoginMiddleware(ILoginRepository loginRepository, IEnvironmentVariable environmentVariable, IError error, ISharedResources sharedResources) { this.loginRepository = loginRepository; this.environmentVariable = environmentVariable; this.error = error; this.sharedResources = sharedResources; }
public TokenService( AppDbContext context, UserManager <User> userManager, IUserSession userSession, IOptions <TokenSettings> tokenSettings, ISharedResources localizer) { this.context = context; this.userManager = userManager; this.userSession = userSession; this.tokenSettings = tokenSettings.Value; this.localizer = localizer; this.ThrowIfInvalidSettings(this.tokenSettings); }
public UserAccountService( AppDbContext context, UserManager <User> userManager, LinkGenerator linkGenerator, IUserSharedService userSharedService, IMailjetService mailjetService, IHttpContextAccessor httpContextAccessor, ISharedResources localizer) { this.context = context; this.userManager = userManager; this.linkGenerator = linkGenerator; this.userSharedService = userSharedService; this.mailjetService = mailjetService; this.httpContextAccessor = httpContextAccessor; this.localizer = localizer; }
public UserService( AppDbContext context, UserManager <User> userManager, RoleManager <Role> roleManager, IMailjetService mailjetService, IUrlHelper urlHelper, ISharedResources localizer, IMapper mapper) { this.context = context; this.userManager = userManager; this.roleManager = roleManager; this.mailjetService = mailjetService; this.urlHelper = urlHelper; this.localizer = localizer; this.mapper = mapper; }
public ClientMiddleware(IClientRepository clientRepository, IError error, ISharedResources sharedResources) { this.clientRepository = clientRepository; this.error = error; this.sharedResources = sharedResources; }