This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using System; | |
using System.Collections.Generic; | |
using System.Linq; | |
using System.IO; | |
using System.Threading.Tasks; | |
using System.Net; | |
using System.Text; | |
using System.Net.Http; | |
using Newtonsoft.Json; | |
using Newtonsoft.Json.Linq; | |
using Microsoft.AspNetCore.SignalR; | |
using Microsoft.AspNetCore.Mvc; | |
using viewer.Hubs; | |
using viewer.Models; | |
namespace viewer.Controllers | |
{ | |
[Route("api/[controller]")] | |
public class UpdatesController : Controller | |
{ | |
private IHubContext<GridEventsHub> HubContext; | |
public UpdatesController(IHubContext<GridEventsHub> gridEventsHubContext) | |
{ | |
this.HubContext = gridEventsHubContext; | |
} | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment