public TeamControllerServiceFixture() { _memberRepository = new Mock <ITeamMemberRepository>(); _teamRepository = new Mock <ITeamRepository>(); _matchRepository = new Mock <IMatchRepository>(); _teamControllerService = new TeamControllerService(_memberRepository.Object, _teamRepository.Object, _matchRepository.Object); }
public TeamController(ITeamRepository teamRepository, ITeamControllerService teamControllerService, IMapper mapper) { _teamRepository = teamRepository; _teamControllerService = teamControllerService; _mapper = mapper; }
public TeamController(ITeamControllerService teamControllerService) { _teamControllerService = teamControllerService; }