示例#1
0
 public PlayerMyTeamsController(IPlayersService playersService, IMyTeamsService myTeamsService, IPlayerMyTeamService playerMyTeamService, IAuthorizationService auth)
 {
     _auth = auth;
     _playerMyTeamService = playerMyTeamService;
     _myTeamsService      = myTeamsService;
     _playersService      = playersService;
 }
 public MyTeamsController(UserManager <ApplicationUser> userManager, IAuthorizationService auth,
                          IMyTeamsService myTeamsService, IPlayerMyTeamService playerMyTeamService)
 {
     _userManager         = userManager;
     _auth                = auth;
     _myTeamService       = myTeamsService;
     _playerMyTeamService = playerMyTeamService;
 }
 public FantasyMatchupsController(IFantasyMatchupService fantasyMatchupService, IFantasyLeagueService fantasyLeagueService,
                                  IFantasyMatchupsWeeksService fantasyMatchupsWeeksService, IPlayerMyTeamService playerMyTeamService)
 {
     _fantasyMatchupService       = fantasyMatchupService;
     _fantasyLeagueService        = fantasyLeagueService;
     _fantasyMatchupsWeeksService = fantasyMatchupsWeeksService;
     _playerMyTeamService         = playerMyTeamService;
 }
 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;
 }