예제 #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 HomeController(UserManager <ApplicationUser> userManager, INewsService newsService, IGamesService gamesService,
                       IMyTeamsService myTeamsService, IPlayerGameStatsService playerGameStatsService)
 {
     _userManager            = userManager;
     _newsService            = newsService;
     _gamesService           = gamesService;
     _myTeamsService         = myTeamsService;
     _playerGameStatsService = playerGameStatsService;
 }