コード例 #1
0
        public ActionResult About()
        {
            //ViewBag.Message = "Your application description page.";

            //return View();
            //var nhlTeamsParser = new NHLTeamsParser();
            //nhlTeamsParser.PopulateNHLTeams();

            var dbContext = new PoolManagerDbContext();

            var trouvaille = dbContext.NHLTeams.First(nt => nt.PlayoffSpot == PlayoffSpots.EWC2);

            return(View("PoolManager"));
        }
コード例 #2
0
 public Dal()
 {
     poolManagerDbContext = new PoolManagerDbContext();
 }
コード例 #3
0
 public NHLTeamsParser()
 {
     poolManagerDbContext = new PoolManagerDbContext();
 }