public MessageHub(IMqttHandler mqttHandler, IGamerContextMethods gamerStorage, IHubContext <MessageHub> context, IConfiguration configuration) { Id = Guid.NewGuid(); _mqttHandler = mqttHandler; _gamerStorage = gamerStorage; _hubContext = context; ApiUri = configuration["ApiUri"]; }
public RegistrationController(IGamerContextMethods gamerStorage, IMqttHandler handler) { _handler = handler; _dbcontextMethods = gamerStorage; }