Exemple #1
0
        public TwoFaMasterServices(IUserService userService,
                                   ICustomRepository <TwoFAmaster> customRepository,

                                   IRegisterTypeService registerTypeService, IMediator mediator)
        {
            _userService         = userService;
            _customRepository    = customRepository;
            _registerTypeService = registerTypeService;
            _mediator            = mediator;
        }
Exemple #2
0
        public UserConfigurationService(CleanArchitectureContext dbContext, IUserService userService,

                                        IMessageRepository <UserConfigurationMaster> customRepository,
                                        IRegisterTypeService registerTypeService, IMediator mediator)
        {
            _dbContext           = dbContext;
            _userService         = userService;
            _customRepository    = customRepository;
            _registerTypeService = registerTypeService;
            _mediator            = mediator;
        }
Exemple #3
0
 public OtpMasterService(
     CleanArchitectureContext dbContext, IUserService userService,
     //ICustomRepository<OtpMaster> customRepository,
     IMessageRepository <OtpMaster> customRepository,
     IRegisterTypeService registerTypeService, IMediator mediator, IMessageConfiguration messageConfiguration)
 {
     _dbContext        = dbContext;
     _userService      = userService;
     _customRepository = customRepository;
     //_customRepository = customRepository;
     _registerTypeService  = registerTypeService;
     _mediator             = mediator;
     _messageConfiguration = messageConfiguration;
 }
 public DatabaseInitializer(
     CleanArchitectureContext context,
     ILogger <DatabaseInitializer> logger,
     OpenIddictApplicationManager <OpenIddictApplication> openIddictApplicationManager,
     RoleManager <ApplicationRole> roleManager,
     UserManager <ApplicationUser> userManager,
     IRegisterTypeService registerTypeService
     )
 {
     _context = context;
     _logger  = logger;
     _openIddictApplicationManager = openIddictApplicationManager;
     _roleManager         = roleManager;
     _userManager         = userManager;
     _registerTypeService = registerTypeService;
 }