public Chathub(IRedisHandler redisHandler, IConnectedUserRepository connectedUserRepository, IChatRepository chatRepository, IRoomRepository roomRepository) { _connectedUserRepository = connectedUserRepository; _chatRepository = chatRepository; _roomRepository = roomRepository; _redisHandler = redisHandler; }
public RoomController(IWordRepository wordRepository, IRedisHandler redisHandler, IConnectedUserRepository connectedUserRepository, IHubContext <Chathub> hubContext, IRoomRepository roomRepository, AppDbContext context) { _wordRepository = wordRepository; _redisHandler = redisHandler; _roomRepository = roomRepository; _hubContext = hubContext; _connectedUserRepository = connectedUserRepository; }
public UserController(IRedisHandler redisHandler, IConnectedUserRepository connectedUserRepository, IUserRepository userRepository) { _connectedUserRepository = connectedUserRepository; _userRepository = userRepository; _redisHandler = redisHandler; }