public JWTAuthenticationService(IOptions <TokenManagement> tokenManagement, UserRepository userRepo, RoleMapper roleMapper, PasswordCryptoService cryptoService) { _tokenManagement = tokenManagement.Value; _userRepo = userRepo; _roleMapper = roleMapper; _cryptoService = cryptoService; }
public UserMapper(RoleMapper roleMapper, PasswordCryptoService cryptoService) { _roleMapper = roleMapper; _crytpoService = cryptoService; }