private static void SetRoutesActive() { var activeController = new TrolleyTracker.Controllers.WebAPI.ActiveController(); var runningList = activeController.Get(); routeIsActive = runningList.Count > 0; }