예제 #1
0
        public FlightsController(IFlightsManager flightsManager)
        {
            _flightsManager = flightsManager;
            _hub            = GlobalHost.ConnectionManager.GetHubContext <FlightsHub>();

            _flightsManager.RegisterToTimerEvent(OnTimerEvent);
        }