Exemplo n.º 1
0
 public UserService(DatabaseContext context, ITokenAuthorization tokenAuthorizationService)
 {
     _dbContext = context;
     _tokenAuthorizationService = tokenAuthorizationService;
 }
Exemplo n.º 2
0
 public UsersService(DatabaseContext context, ITokenAuthorization tokenAuthorizationService, IHashProvider hashProvider)
 {
     _context = context;
     _tokenAuthorizationService = tokenAuthorizationService;
     _hashProvider = hashProvider;
 }