public CalculationController(ITeamsRepository teamsRepo, IActivityRepository activityRepo, IRankingsRepository rankingRepo, IPositionsRepository positionsRepo, IEstimatedRankingRepository estimatedRepo) { _teamsRepository = teamsRepo; _activityRepository = activityRepo; _rankingRepository = rankingRepo; _positionsRepository = positionsRepo; _estimatedRankingRepository = estimatedRepo; allTeams = teamsRepo.AsQueryable().ToArray(); }
public TeamsController(ITeamsRepository teamsRepo, IActivityRepository activityRepo, IRankingsRepository rankingRepo, IPositionsRepository positionsRepo, IEstimatedRankingRepository estimatedRepo) { _teamsRepository = teamsRepo; _activityRepository = activityRepo; _rankingRepository = rankingRepo; _positionsRepository = positionsRepo; teamCalc = new TeamCalculations(_teamsRepository, _activityRepository, _rankingRepository, _positionsRepository, estimatedRepo, null); }
public SeasonCalculations(Season season, ITeamsRepository teamsRepo, IActivityRepository activityRepo, IRankingsRepository rankingRepo, IPositionsRepository positionsRepo, IEstimatedRankingRepository estimatedRepo) { allTeams = teamsRepo.AsQueryable().ToArray(); _activityRepository = activityRepo; _rankingRepository = rankingRepo; _positionsRepository = positionsRepo; _estimatedRankingRepository = estimatedRepo; _currentSeason = season; }
public TeamCalculations(ITeamsRepository teamsRepo, IActivityRepository activityRepo, IRankingsRepository rankingRepo, IPositionsRepository positionsRepo, IEstimatedRankingRepository estimatedRepo, Teams team) { _teamsRepository = teamsRepo; _activityRepository = activityRepo; _rankingRepository = rankingRepo; _positionsRepository = positionsRepo; _estimatedRankingRepository = estimatedRepo; _team = team; }
public UsersService(IUsersRepository repo, IRankingsRepository rankings) { _repo = repo; _rankings = rankings; }
public RankingsController(IRankingsRepository rankingsRepository) { this.rankingsRepository = rankingsRepository; }
public RankingsService(IRankingsRepository repo) { _repo = repo; }