예제 #1
0
        public TeamControllerServiceFixture()
        {
            _memberRepository = new Mock <ITeamMemberRepository>();
            _teamRepository   = new Mock <ITeamRepository>();
            _matchRepository  = new Mock <IMatchRepository>();

            _teamControllerService = new TeamControllerService(_memberRepository.Object, _teamRepository.Object, _matchRepository.Object);
        }
예제 #2
0
 public TeamController(ITeamRepository teamRepository, ITeamControllerService teamControllerService, IMapper mapper)
 {
     _teamRepository        = teamRepository;
     _teamControllerService = teamControllerService;
     _mapper = mapper;
 }
예제 #3
0
 public TeamController(ITeamControllerService teamControllerService)
 {
     _teamControllerService = teamControllerService;
 }