Exemple #1
0
 public UserService(DatabaseContext context, ITokenAuthorization tokenAuthorizationService)
 {
     _dbContext = context;
     _tokenAuthorizationService = tokenAuthorizationService;
 }
Exemple #2
0
 public UsersService(DatabaseContext context, ITokenAuthorization tokenAuthorizationService, IHashProvider hashProvider)
 {
     _context = context;
     _tokenAuthorizationService = tokenAuthorizationService;
     _hashProvider = hashProvider;
 }