Esempio n. 1
0
 public UserService(IUserRepository userRepository, IRoleRepository roleRepository,
                    IUserRoleRepository userRoleRepository, IPasswordHasher passwordHasher,
                    IUserRegistrationKeyService userRegistrationKeyService,
                    IUserEmailVerificationRequestRepository userEmailVerificationRequestRepository, IEmailService emailService)
 {
     _userRepository                         = userRepository;
     _roleRepository                         = roleRepository;
     _userRoleRepository                     = userRoleRepository;
     _passwordHasher                         = passwordHasher;
     _userRegistrationKeyService             = userRegistrationKeyService;
     _userEmailVerificationRequestRepository = userEmailVerificationRequestRepository;
     _emailService = emailService;
 }
Esempio n. 2
0
 public RegistrationKeyController(IUserRegistrationKeyService userRegistrationKeyService)
 {
     _userRegistrationKeyService = userRegistrationKeyService;
 }