public ServicesService(IUnitOfWorkFactory unitOfWorkFactory, ILogger logger, ISettingsService settingsService, IMailManagementService mailManagementService)
 {
     _mailManagementService = mailManagementService;
     _settingsService = settingsService;
     _unitOfWorkFactory = unitOfWorkFactory;
     _logger = logger;
 }
Exemple #2
0
 public UserController(IUserManagementServices userService,
                       IMailManagementService mailService,
                       UserManager <BtUser> userManager,
                       RoleManager <BtRole> roleManager,
                       ILocationManagementService locationService,
                       StatisticsService statisticsService
                       )
 {
     _userManager      = userManager;
     _mailService      = mailService;
     _roleManager      = roleManager;
     _userService      = userService;
     _locationService  = locationService;
     _statisticService = statisticsService;
 }
 public UserManagementServices(authDbContext context,
                               IDataProtectionProvider dataProtectionProvider,
                               IConfiguration configura, UserManager <BtUser> userManager,
                               RoleManager <BtRole> roleManager, IAuthUser authUser,
                               ILogger <UserManagementServices> logger,
                               IMailManagementService mailService)
 {
     _context     = context;
     _protector   = dataProtectionProvider.CreateProtector(GetType().FullName);
     _configura   = configura;
     _userManager = userManager;
     _roleManager = roleManager;
     _authUser    = authUser;
     _mailService = mailService;
     _logger      = logger;
 }
 public AccountController(UserManager <BtUser> userManager, RoleManager <BtRole> roleManager,
                          SignInManager <BtUser> signInManager, IMailManagementService emailSender,
                          ILogger <AccountController> logger, IHttpContextAccessor httpContextAccessor,
                          IDistributedCache memoryCache, IUserManagementServices userService, ILocationManagementService locationService,
                          ISeedingManagementService seedingService, IAccountManagementService accountService,
                          IMailManagementService mailService, IAuthUser authUser)
 {
     _userManager         = userManager;
     _roleManager         = roleManager;
     _memoryCache         = memoryCache;
     _emailSender         = emailSender;
     _userService         = userService;
     _locationService     = locationService;
     _signInManager       = signInManager;
     _logger              = logger;
     _httpContextAccessor = httpContextAccessor;
     _seedingService      = seedingService;
     _accountService      = accountService;
     _mailService         = mailService;
     _authUser            = authUser;
 }
 public MailController(IMailManagementService mailManagementService,
     INewsletterReceiverService newsletterReceiverService)
 {
     _newsletterReceiverService = newsletterReceiverService;
     _mailManagementService = mailManagementService;
 }
Exemple #6
0
 public RegisteredClientsController(IUserManagementService userService, IMailManagementService mailService)
 {
     _userService = userService;
     _mailService = mailService;
 }
 public MailController(IMailManagementService mailManagementService, ISettingsService settingsService)
 {
     _settingsService = settingsService;
     _mailManagementService = mailManagementService;
 }
 public TestController(IMailManagementService mail, IServiceTypeService types, IServiceProviderService provider)
 {
     _provider = provider;
     _mail = mail;
     _types = types;
 }