//remember to pass in the bowlingleaguecontext public HomeController(ILogger <HomeController> logger, BowlingLeagueContext con) { _logger = logger; //assign the context attribute to the BowlingLeagueContext context = con; }
public HomeController(ILogger <HomeController> logger, BowlingLeagueContext context) { _logger = logger; _context = context; /*Repository is assigned a value here so that it can be accessed within the controller*/ }
public ContactListViewComponent(BowlingLeagueContext ctx) { context = ctx; }
public TeamNameViewComponent(BowlingLeagueContext ctx) { context = ctx; }
public TeamViewComponent(BowlingLeagueContext con) { context = con; }
public HomeController(ILogger <HomeController> logger, BowlingLeagueContext Context) { _logger = logger; context = Context; //Using context approach, not repository }
public HomeController(BowlingLeagueContext context, ILogger <HomeController> logger) { _context = context; _logger = logger; }
public TeamViewComponent(BowlingLeagueContext bowler) { _context = bowler; }
public TeamViewComponent(BowlingLeagueContext ctx) //bring in the context file { context = ctx; }
public HomeController(ILogger <HomeController> logger, BowlingLeagueContext bl) { _logger = logger; context = bl; }
// assign context variable public TeamComponent(BowlingLeagueContext con) { _context = con; }
//This is where the navbar for the teams are built public NavigationMenuViewComponent(BowlingLeagueContext ctx) { context = ctx; }
// Pass in the xontext to the HomeController Constructor public HomeController(ILogger <HomeController> logger, BowlingLeagueContext c) { _logger = logger; //set the context to the BowlingLeagueContext that gets passed in! context = c; }
public NavMenuViewComponent(BowlingLeagueContext ctx) { //set context equal to bowling league context context = ctx; }
public HomeController(BowlingLeagueContext con) { context = con; }
public HomeController(ILogger <HomeController> logger, BowlingLeagueContext ctx) { _logger = logger; context = ctx; //The context of the bowler data set. Allows us to query and filter from it }
public TeamFilterViewComponent(BowlingLeagueContext context) { this.context = context; }
public int NumBowlersPerPage = 5; //create a public integer to dictate the bowlers per page public HomeController(ILogger<HomeController> logger, BowlingLeagueContext ctx) { _logger = logger; _context = ctx; //pass in a context variable to set the context }
//constructor public BowlerTeamViewComponent(BowlingLeagueContext bl) { context = bl; }
public MealTypeViewComponent(BowlingLeagueContext ctx) { context = ctx; }
public TeamFilterViewComponent(BowlingLeagueContext ctx) { context = ctx; }
public TeamNameViewComponent(BowlingLeagueContext txt) { _context = txt; }
public HomeController(ILogger <HomeController> logger, BowlingLeagueContext ctx) { _logger = logger; context = ctx; }
public TeamViewComponent(BowlingLeagueContext Context) { context = Context; }
public TeamViewComponent(BowlingLeagueContext context) { _context = context; }
public TeamViewComponent(BowlingLeagueContext ctx) { _context = ctx; }
public HomeController(ILogger <HomeController> logger, BowlingLeagueContext bowlingLeagueContext) { _logger = logger; //setting the value for _BowlingLeagueContext _BowlingLeagueContext = bowlingLeagueContext; }
public BowlerTeamViewComponent(BowlingLeagueContext ctx) { context = ctx; }
//Bringing in the instance of the database here in the home controller public HomeController(ILogger <HomeController> logger, BowlingLeagueContext context) { _logger = logger; _context = context; }
//bring in database public HomeController(ILogger <HomeController> logger, BowlingLeagueContext con) { context = con; _logger = logger; }