Beispiel #1
0
 public StatisticService(IMatchPlayerRepository matchPlayerRepository, IPlayerRepository playerRepository, IMatchRepository matchRepository, ILeagueRepository leagueRepository, IMapper mapper, IStatisticRepository statisticRepository)
 {
     _matchPlayerRepository = matchPlayerRepository;
     _playerRepository      = playerRepository;
     _matchRepository       = matchRepository;
     _leagueRepository      = leagueRepository;
     _mapper = mapper;
     _statisticRepository = statisticRepository;
 }
Beispiel #2
0
 public MatchPlayerService(
     IMatchPlayerRepository matchPlayerRepository,
     IUnitOfWork unitOfWork,
     IMapper mapper)
 {
     _matchPlayerRepository = matchPlayerRepository;
     _unitOfWork            = unitOfWork;
     _mapper = mapper;
 }
 public MatchService(IMatchPlayerRepository matchPlayerRepository, IMatchRepository matchRepository, ILeagueRepository leagueRepository, ITeamRepository teamRepository, IMapper mapper, IStatisticRepository statisticRepository)
 {
     _matchPlayerRepository = matchPlayerRepository;
     _teamRepository        = teamRepository;
     _matchRepository       = matchRepository;
     _leagueRepository      = leagueRepository;
     _mapper = mapper;
     _statisticRepository = statisticRepository;
 }
 public MatchStatisticsService(
     IMatchRepository matchRepository,
     IMapper _mapper,
     IPlayerRepository playerRepository,
     IMatchPointRepository matchPointRepository,
     IPlayerPointRepository playerPointRepository,
     IMatchPlayerRepository matchPlayerRepository)
 {
     this.matchRepository   = matchRepository;
     this._mapper           = _mapper;
     _playerRepository      = playerRepository;
     _matchPointRepository  = matchPointRepository;
     _playerPointRepository = playerPointRepository;
     _matchPlayerRepository = matchPlayerRepository;
 }
 public HomeController(IMatchPlayerRepository repo)
 {
     _repo = repo;
 }