public HomeController(ILogger <HomeController> logger, MyContext context)
 {
     sponsors   = new SponsorRepository(context);
     colleagues = new ColleagueRepository(context);
     banks      = new BankRepository(context);
     _logger    = logger;
 }
Exemple #2
0
 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);
 }
Exemple #5
0
 public SponsorTransactionController(IHostingEnvironment hostingEnvironment, MyContext context)
 {
     sponsors            = new SponsorRepository(context);
     colleages           = new ColleagueRepository(context);
     _hostingEnvironment = hostingEnvironment;
 }
 public ErrorTable(MyContext context)
 {
     colleages = new ColleagueRepository(context);
 }
Exemple #7
0
 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);
 }