Exemple #1
0
 /// <summary>
 /// Public constructor.
 /// </summary>
 public UserService(UnitOfWork unitOfWork, IEncryptionService encryptionService, ITokenService tokenService, IActivationCodeService activationCodeService)
 {
     _unitOfWork            = unitOfWork;
     _encryptionService     = encryptionService;
     _tokenService          = tokenService;
     _activationCodeService = activationCodeService;
 }
 /// <summary>
 /// Public constructor to initialize product service instance
 /// </summary>
 public AuthenticateController(ITokenService tokenService, IUserService userService, IActivationCodeService activationCodeService, INotificationService notificationService)
 {
     _tokenService          = tokenService;
     _userService           = userService;
     _activationCodeService = activationCodeService;
     _notificationService   = notificationService;
 }
Exemple #3
0
 public UserManagementController(IUserService userService,
                                 IMapper mapper,
                                 IActivationCodeService activationCodeService,
                                 IEmailService emailService)
 {
     _userService           = userService;
     _mapper                = mapper;
     _activationCodeService = activationCodeService;
     _emailService          = emailService;
 }
Exemple #4
0
 public AuthenticationController(
     IUserAuthenticationService authenticationService,
     IUserService userService,
     IActivationCodeService activationCodeService,
     IEmailService emailService)
 {
     _authenticationService = authenticationService;
     _userService           = userService;
     _activationCodeService = activationCodeService;
     _emailService          = emailService;
 }