Ejemplo n.º 1
0
 public MatchPointService(
     IMatchPointRepository matchPointRepository,
     IUnitOfWork unitOfWork,
     IMapper mapper,
     IMatchRepository matchRepository)
 {
     _matchPointRepository = matchPointRepository;
     _unitOfWork           = unitOfWork;
     _mapper          = mapper;
     _matchRepository = matchRepository;
 }
 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;
 }