예제 #1
0
 public CreateModel(TeamOrganiser.Data.ApplicationDbContext context,
                    FootballTeamSorter footballTeamSorter,
                    FootballTeamService footballTeamService,
                    FootballPlayerFootballGamesService footballPlayerFootballGamesService,
                    FootballPlayerFootballTeamsService footballPlayerFootballTeamsService,
                    UserManager <IdentityUser> userManager)
 {
     _context             = context;
     _footballTeamSorter  = footballTeamSorter;
     _footballTeamService = footballTeamService;
     _playerGamesService  = footballPlayerFootballGamesService;
     _playerTeamsService  = footballPlayerFootballTeamsService;
     _userManager         = userManager;
 }
예제 #2
0
 public EditModel(TeamOrganiser.Data.ApplicationDbContext context)
 {
     _context = context;
 }
 public IndexAccountsModel(TeamOrganiser.Data.ApplicationDbContext context)
 {
     _context = context;
 }
 public CreateFootballersModel(TeamOrganiser.Data.ApplicationDbContext context)
 {
     _context = context;
 }
예제 #5
0
 public IndexPlayersModel(TeamOrganiser.Data.ApplicationDbContext context)
 {
     _context = context;
 }
 public IndexModel(TeamOrganiser.Data.ApplicationDbContext context, UserManager <IdentityUser> userManager)
 {
     _context     = context;
     _userManager = userManager;
     FootballGame = new FootballGame();
 }
예제 #7
0
 public DetailsModel(TeamOrganiser.Data.ApplicationDbContext context)
 {
     _context = context;
 }