diff --git a/Controllers/HomeController.cs b/Controllers/HomeController.cs index 80320c8..4bd5c1d 100644 --- a/Controllers/HomeController.cs +++ b/Controllers/HomeController.cs @@ -1,25 +1,10 @@ -using System; -using LiveGameFeed.Data.Abstract; -using LiveGameFeed.Hubs; using Microsoft.AspNetCore.Mvc; -using Microsoft.AspNetCore.SignalR.Infrastructure; namespace LiveGameFeed.Controllers { - public class HomeController : ApiHubController + public class HomeController : Controller { - IMatchRepository _matchRepository; - IFeedRepository _feedRepository; - - private Object lockOb = new Object(); - public HomeController(IConnectionManager signalRConnectionManager, - IMatchRepository matchRepository, - IFeedRepository feedRepository) - : base(signalRConnectionManager) - { - _matchRepository = matchRepository; - _feedRepository = feedRepository; - } + public HomeController() { } public IActionResult Index() {