Skip to content

Instantly share code, notes, and snippets.

@dcomartin
Created January 31, 2019 00:03
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save dcomartin/b97da3d370984259c93c6dd6c4d06d4f to your computer and use it in GitHub Desktop.
Save dcomartin/b97da3d370984259c93c6dd6c4d06d4f to your computer and use it in GitHub Desktop.
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