Ejemplo n.º 1
0
 public UserBusinessLogic(IUserRepository userRepository, ITypeIdentificationRepository typeIdentificationRepository, IEncryptedPassword encriptedPassword, IMapper mapper)
 {
     _userRepository = userRepository;
     _typeIdentificationRepository = typeIdentificationRepository;
     _encriptedPassword            = encriptedPassword;
     _mapper = mapper;
 }
 public LoginBusinessLogic(ITokenClaims tokenClaims, IEncryptedPassword encriptedPassword, IMapper mapper, IUserRepository userRepository)
 {
     _tokenClaims       = tokenClaims;
     _encriptedPassword = encriptedPassword;
     _mapper            = mapper;
     _userRepository    = userRepository;
 }