public IActionResult Index()
        {
            string week = MatchupDataHelper.Get_Current_Week();

            //string record = MatchupDataHelper.Get_Team_Record("Ravens");
            ViewBag.week = week;
            return(View());
        }
Example #2
0
 //Constructor
 public PlayerPickController(ApplicationDbContext context)
 {
     this.context = context;
     this.week    = MatchupDataHelper.Get_Current_Week();
 }
 //Constructor
 public MatchupsController(ApplicationDbContext db, IHostingEnvironment env)
 {
     this.db  = db;
     this.env = env;
     week     = MatchupDataHelper.Get_Current_Week();
 }
 //constructor
 public PlayersController(ApplicationDbContext context)
 {
     _context = context;
     week     = MatchupDataHelper.Get_Current_Week();
 }
 public ScoresController(ApplicationDbContext context)
 {
     this.context = context;
     week         = MatchupDataHelper.Get_Current_Week();
 }