public HomeController(UserManager <ApplicationUser> userManager, INewsService newsService, IGamesService gamesService,
                       IMyTeamsService myTeamsService, IPlayerGameStatsService playerGameStatsService)
 {
     _userManager            = userManager;
     _newsService            = newsService;
     _gamesService           = gamesService;
     _myTeamsService         = myTeamsService;
     _playerGameStatsService = playerGameStatsService;
 }
 public FantasyMatchupService(ApplicationDbContext context, IPlayerMyTeamService playerMyTeamService,
                              IFantasyMatchupsWeeksService fantasyMatchupsWeeksService, IPlayerGameStatsService playerGameStatsService,
                              IFantasyLeagueStandingsService fantasyLeagueStandingsService, IFantasyLeagueService fantasyLeagueService)
 {
     _context                       = context;
     _playerMyTeamService           = playerMyTeamService;
     _fantasyMatchupsWeeksService   = fantasyMatchupsWeeksService;
     _playerGameStatsService        = playerGameStatsService;
     _fantasyLeagueStandingsService = fantasyLeagueStandingsService;
     _fantasyLeagueService          = fantasyLeagueService;
 }
예제 #3
0
 public GamesController(IGamesService gamesService, IPlayerGameStatsService playerGameStatsService)
 {
     _gamesService           = gamesService;
     _playerGameStatsService = playerGameStatsService;
 }