mirror of
https://github.com/chsakell/aspnet-core-signalr-angular.git
synced 2025-12-22 17:27:48 +00:00
remove unnecessary code
This commit is contained in:
@@ -1,25 +1,10 @@
|
|||||||
using System;
|
|
||||||
using LiveGameFeed.Data.Abstract;
|
|
||||||
using LiveGameFeed.Hubs;
|
|
||||||
using Microsoft.AspNetCore.Mvc;
|
using Microsoft.AspNetCore.Mvc;
|
||||||
using Microsoft.AspNetCore.SignalR.Infrastructure;
|
|
||||||
|
|
||||||
namespace LiveGameFeed.Controllers
|
namespace LiveGameFeed.Controllers
|
||||||
{
|
{
|
||||||
public class HomeController : ApiHubController<Broadcaster>
|
public class HomeController : Controller
|
||||||
{
|
{
|
||||||
IMatchRepository _matchRepository;
|
public HomeController() { }
|
||||||
IFeedRepository _feedRepository;
|
|
||||||
|
|
||||||
private Object lockOb = new Object();
|
|
||||||
public HomeController(IConnectionManager signalRConnectionManager,
|
|
||||||
IMatchRepository matchRepository,
|
|
||||||
IFeedRepository feedRepository)
|
|
||||||
: base(signalRConnectionManager)
|
|
||||||
{
|
|
||||||
_matchRepository = matchRepository;
|
|
||||||
_feedRepository = feedRepository;
|
|
||||||
}
|
|
||||||
|
|
||||||
public IActionResult Index()
|
public IActionResult Index()
|
||||||
{
|
{
|
||||||
|
|||||||
Reference in New Issue
Block a user