public UsersService(IMeLikeContext context, IUserConnectionsRepository connectionsRepository, IMapper mapper) { _context = context; _connectionsRepository = connectionsRepository; _mapper = mapper; _users = _context.Users.AsQueryable(); }
public ChatHub(ILogger <ChatHub> log, IUserConnectionsRepository userConnectionsRepository, ISupportUsersRegistry supportUsersRegistry, ISupportRequestRoomsRepository supportRequestRooms) { this.log = log; this.userConnectionsRepository = userConnectionsRepository; this.supportUsersRegistry = supportUsersRegistry; this.supportRequestRooms = supportRequestRooms; this.log.LogInformation("Created chat hub"); }