示例#1
0
 public TeamsService(IMatchesService matchesService, ISeasonConfigService seasonsService, ITeamRepository teamRepository, ITeamStatsRepository statsRepository,
                     IMatchRepository matchRepository, ISeasonConfigService configService, IMapper mapper)
 {
     _matchesService  = matchesService;
     _seasonsService  = seasonsService;
     _teamRepository  = teamRepository;
     _statsRepository = statsRepository;
     _matchRepository = matchRepository;
     _configService   = configService;
     _mapper          = mapper;
 }
示例#2
0
 public MatchesService(IMatchRepository matchRepository, ISeasonConfigService seasonService, IMapper mapper)
 {
     _matchRepository = matchRepository;
     _mapper          = mapper;
     _seasonService   = seasonService;
 }