Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
using System.Threading.Tasks;
using Microsoft.AspNetCore.Mvc;
using Microsoft.AspNetCore.SignalR;
namespace Practical.AspNetCore.SignalR
{
public class AnnouncementController : Controller
{
private IHubContext<MessageHub> _hubContext;
public AnnouncementController(IHubContext<MessageHub> hubContext)
{
_hubContext = hubContext;
}
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.