public ConfirmContactModel(FunctionalUnitOfWork functionalUnitOfWork, IConfiguration configuration, UserManager <ApplicationUser> userManager, EventTrackingService eventTrackingService)
 {
     _userManager          = userManager;
     _configuration        = configuration;
     _UnitOfWork           = functionalUnitOfWork;
     _eventTrackingService = eventTrackingService;
 }
 public ForgotPasswordModel(UserManager <ApplicationUser> userManager,
                            IWebHostEnvironment env, IEmailSenderService emailSender, IServiceProvider serviceProvider, EventTrackingService eventTrackingService)
 {
     _userManager          = userManager;
     _emailSender          = emailSender;
     _serviceProvider      = serviceProvider;
     _env                  = env;
     _eventTrackingService = eventTrackingService;
 }
 public LoginModel(SignInManager <ApplicationUser> signInManager,
                   ILogger <LoginModel> logger, FunctionalUnitOfWork functionalUnitOfWork,
                   UserManager <ApplicationUser> userManager, EventTrackingService eventTrackingService)
 {
     _userManager          = userManager;
     _eventTrackingService = eventTrackingService;
     _signInManager        = signInManager;
     _logger = logger;
     _functionalUnitOfWork = functionalUnitOfWork;
 }
Esempio n. 4
0
 public ExternalLoginModel(
     SignInManager <ApplicationUser> signInManager,
     UserManager <ApplicationUser> userManager,
     ILogger <ExternalLoginModel> logger,
     IEmailSender emailSender, EventTrackingService eventTrackingService)
 {
     _signInManager        = signInManager;
     _userManager          = userManager;
     _logger               = logger;
     _emailSender          = emailSender;
     _eventTrackingService = eventTrackingService;
 }
 public AdminDashboardController(FunctionalUnitOfWork functionalUnitOfWork, UserManager <ApplicationUser> userManager,
                                 EventTrackingService eventTrackingService, NotificationService notificationService,
                                 IConfiguration configuration, IServiceProvider serviceProvider, IWebHostEnvironment env, IEmailSenderService emailSender)
 {
     this.functionalUnitOfWork = functionalUnitOfWork;
     _userManager          = userManager;
     _eventTrackingService = eventTrackingService;
     _notificationService  = notificationService;
     _configuration        = configuration;
     _serviceProvider      = serviceProvider;
     _env         = env;
     _emailSender = emailSender;
 }
 public ProfileStatisticsController(UserManager <ApplicationUser> userManager,
                                    IAuthorizationService authorizationService,
                                    IServiceProvider serviceProvider,
                                    IWebHostEnvironment env, IEmailSender emailSender,
                                    IConfiguration configuration, FunctionalUnitOfWork functionalUnitOfWork, EventTrackingService eventTrackingService)
 {
     _userManager          = userManager;
     _authorizationService = authorizationService;
     _env                  = env;
     _emailSender          = emailSender;
     _configuration        = configuration;
     _functionalUnitOfWork = functionalUnitOfWork;
     _serviceProvider      = serviceProvider;
     _eventTrackingService = eventTrackingService;
 }
        public TrackAdPublishingService(ILogger <TrackAdPublishingService> logger, IServiceProvider serviceProvider, IWebHostEnvironment env, IConfiguration configuration)
        {
            _logger = logger;

            _scope           = serviceProvider.CreateScope();
            _serviceProvider = _scope.ServiceProvider;

            _functionalUnitOfWork = _scope.ServiceProvider.GetRequiredService <FunctionalUnitOfWork>();
            _userManager          = _scope.ServiceProvider.GetRequiredService <UserManager <ApplicationUser> >();
            _eventTrackingService = _scope.ServiceProvider.GetRequiredService <EventTrackingService>();
            _notificationService  = _scope.ServiceProvider.GetRequiredService <NotificationService>();
            _configuration        = configuration;
            _env         = env;
            _emailSender = _scope.ServiceProvider.GetRequiredService <IEmailSenderService>();
        }
Esempio n. 8
0
 public ContactsController(NotificationService notificationService,
                           IWebHostEnvironment env, IConfiguration configuration,
                           IServiceProvider serviceProvider,
                           IEmailSenderService emailSender, FunctionalUnitOfWork onlineWalletUnitOfWork, UserManager <ApplicationUser> userManager,
                           EventTrackingService eventTrackingService)
 {
     _notificationService  = notificationService;
     _serviceProvider      = serviceProvider;
     _UnitOfWork           = onlineWalletUnitOfWork;
     _userManager          = userManager;
     _eventTrackingService = eventTrackingService;
     _emailSender          = emailSender;
     _env           = env;
     _configuration = configuration;
 }
Esempio n. 9
0
 public LoginWithPinCodeModel(
     UserManager <ApplicationUser> userManager,
     SignInManager <ApplicationUser> signInManager,
     ILogger <RegisterModel> logger,
     IWebHostEnvironment env,
     IEmailSender emailSender,
     IConfiguration configuration, EventTrackingService eventTrackingService,
     FunctionalUnitOfWork functionalUnitOfWork)
 {
     _userManager          = userManager;
     _signInManager        = signInManager;
     _logger               = logger;
     _emailSender          = emailSender;
     Configuration         = configuration;
     _env                  = env;
     _webRoot              = _env.WebRootPath;
     _eventTrackingService = eventTrackingService;
     _functionalUnitOfWork = functionalUnitOfWork;
 }
 public RegisterModel(
     IServiceProvider serviceProvider,
     UserManager <ApplicationUser> userManager,
     SignInManager <ApplicationUser> signInManager,
     ILogger <RegisterModel> logger,
     IWebHostEnvironment env,
     IEmailSenderService emailSender,
     IConfiguration configuration, CountriesService countriesService, FunctionalUnitOfWork functionalUnitOfWork, EventTrackingService eventTrackingService)
 {
     _serviceProvider      = serviceProvider;
     _userManager          = userManager;
     _signInManager        = signInManager;
     _logger               = logger;
     _emailSender          = emailSender;
     Configuration         = configuration;
     this.countriesService = countriesService;
     _functionalUnitOfWork = functionalUnitOfWork;
     _env     = env;
     _webRoot = _env.WebRootPath;
     _eventTrackingService = eventTrackingService;
 }
Esempio n. 11
0
 public EventTrackerController(EventTrackingService eventTrackingService, UserManager <ApplicationUser> userManager)
 {
     _EventTrackingService = eventTrackingService;
     _userManager          = userManager;
 }
 public ViewProfileController(UserManager <ApplicationUser> userManager, FunctionalUnitOfWork functionalUnitOfWork, EventTrackingService eventTrackingService)
 {
     _userManager          = userManager;
     _functionalUnitOfWork = functionalUnitOfWork;
     _eventTrackingService = eventTrackingService;
 }
Esempio n. 13
0
 public ConfirmEmailModel(UserManager <ApplicationUser> userManager, NotificationService notificationService, EventTrackingService eventTrackingService)
 {
     _userManager          = userManager;
     _notificationService  = notificationService;
     _eventTrackingService = eventTrackingService;
 }
 public LogoutModel(SignInManager <ApplicationUser> signInManager, ILogger <LogoutModel> logger, EventTrackingService eventTrackingService)
 {
     _signInManager        = signInManager;
     _logger               = logger;
     _eventTrackingService = eventTrackingService;
 }
Esempio n. 15
0
 public ResetPasswordModel(UserManager <ApplicationUser> userManager, EventTrackingService eventTrackingService)
 {
     _userManager          = userManager;
     _eventTrackingService = eventTrackingService;
 }