public LeaguesController(ApplicationDbContext context, UserManager <ApplicationUser> userManager, ILeaguesRepository leaguesRepository) { _context = context; _userManager = userManager; _leaguesRepository = leaguesRepository; }
public TournamentsManager(ITeamsRepository teamsRepository, IGamesRepository gamesRepository, IEventsRepository eventsRepository, TournamentsMapper tournamentsMapper, ILeaguesRepository leaguesRepository) { _teamsRepository = teamsRepository; _gamesRepository = gamesRepository; _eventsRepository = eventsRepository; _tournamentsMapper = tournamentsMapper; _leaguesRepository = leaguesRepository; }
public TeamsManager(ITeamsRepository teamsRepository, IPlayersRepository playersRepository, IGamesRepository gamesRepository, ILeaguesRepository leaguesRepository, TeamsMapper teamMapper, IEventsRepository eventsRepository) { _teamsRepository = teamsRepository; _playersRepository = playersRepository; _gamesRepository = gamesRepository; _leaguesRepository = leaguesRepository; _teamMapper = teamMapper; _eventsRepository = eventsRepository; }
public MatchesController(ApplicationDbContext context, UserManager <ApplicationUser> userManager, IStringLocalizer <MatchesController> localizer, IInvitesService invitesService, ILeaguesRepository leaguesRepository) { _context = context; _userManager = userManager; _localizer = localizer; _invitesService = invitesService; _leaguesRepository = leaguesRepository; }
public LeaguesManager(ILeaguesRepository leaguesRepository, ITeamsRepository teamsRepository, IGamesRepository gamesRepository, IPlayersRepository playersRepository, IUsersRepository usersRepository, TeamsMapper teamMapper, UserStatisticCalculation userStatisticCalculation, LeaguesMapper leaguesMapper, IEventsRepository eventsRepository) { _leaguesRepository = leaguesRepository; _teamsRepository = teamsRepository; _gamesRepository = gamesRepository; _playersRepository = playersRepository; _usersRepository = usersRepository; _teamMapper = teamMapper; _userStatisticCalculation = userStatisticCalculation; _leaguesMapper = leaguesMapper; _eventsRepository = eventsRepository; }
public LeagueController(ILeaguesRepository leaguesRepository, ILoggerFactory loggerFactory) { LeaguesRepository = leaguesRepository; Logger = loggerFactory.CreateLogger("LeagueController"); }