public void ImportWideReceivers(int id)
 {
     string sessionId = HttpContext.Session.SessionID;
     NumberFireConnection numberFireConnection = new NumberFireConnection(id, sessionId);
     numberFireConnection.ImportWrHtml();
 }
 public void ImportRunningBacks(int id)
 {
     string sessionId = HttpContext.Session.SessionID;
     NumberFireConnection numberFireConnection = new NumberFireConnection(id, sessionId);
     numberFireConnection.ImportRbHtml();
 }
 public void ImportTightEnds(int id)
 {
     string sessionId = HttpContext.Session.SessionID;
     NumberFireConnection numberFireConnection = new NumberFireConnection(id, sessionId);
     numberFireConnection.ImportTeHtml();
 }
        // GET: Teams/LeagueId
        public ActionResult Index(int? id)
        {
            if (id == null)
            {
                return new HttpStatusCodeResult(HttpStatusCode.BadRequest);
            }

            LeagueView leagueView = new LeagueView(id.GetValueOrDefault());
            string sessionId = HttpContext.Session.SessionID;

            if (leagueView.League.CurrentSessionId == sessionId)
            {
                NumberFireConnection numberFireConnection = new NumberFireConnection(leagueView.League.LeagueId, sessionId);
                numberFireConnection.ImportPlayers();
            }

            return View(leagueView);
        }