public HomeController(ILogger <HomeController> logger, MyContext context) { sponsors = new SponsorRepository(context); colleagues = new ColleagueRepository(context); banks = new BankRepository(context); _logger = logger; }
public SponsorController(MyContext context) { sponsors = new SponsorRepository(context); colleagues = new ColleagueRepository(context); }
public NewSponsor(MyContext context) { colleagues = new ColleagueRepository(context); }
public DetailsColleagueTable(MyContext context) { sponsors = new SponsorRepository(context); colleages = new ColleagueRepository(context); }
public SponsorTransactionController(IHostingEnvironment hostingEnvironment, MyContext context) { sponsors = new SponsorRepository(context); colleages = new ColleagueRepository(context); _hostingEnvironment = hostingEnvironment; }
public ErrorTable(MyContext context) { colleages = new ColleagueRepository(context); }
public ListColleague(MyContext context) { colleages = new ColleagueRepository(context); }
public ColleagueController(IHostingEnvironment hostingEnvironment, MyContext context) { _hostingEnvironment = hostingEnvironment; this.colleagues = new ColleagueRepository(context); this.sponsors = new SponsorRepository(context); }