예제 #1
0
 public HomeController(
     IFootballerService footballerService,
     IPositionService positionService,
     IClubService clubService)
 {
     this.footballerService = footballerService;
     this.positionService   = positionService;
     this.clubService       = clubService;
 }
예제 #2
0
 public FootballerController(IFootballerService footballerService)
 {
     _footballerService = footballerService;
 }
 public FootballerController(IFootballerRepository _footballerRepository, IFootballerService _footballerService)
 {
     footballerRepository = _footballerRepository;
     footballerService    = _footballerService;
 }