예제 #1
0
 public UserController(
     IUserService user,
     IAdressesService adressesService,
     IPostalcodeService postalcodeService,
     ITeamService teamService,
     INationService nationService,
     IPlayerSkillService playskillService,
     IPlayerService playerService,
     IStadiumService stadiumService,
     ICoachService coachService,
     ICoachSkillService coachSkillService)
 {
     _usermanager        = (UserManager)user;
     _adressmanager      = (AdressManager)adressesService;
     _postalcodeManager  = (PostalcodeManager)postalcodeService;
     _teamManager        = (TeamManager)teamService;
     _nationManager      = (NationManager)nationService;
     _playerskillManager = (PlayerSkillManager)playskillService;
     _playerManager      = (PlayerManager)playerService;
     _stadiumManager     = (StadiumManager)stadiumService;
     _coachManager       = (CoachManager)coachService;
     _coachSkillManager  = (CoachSkillManager)coachSkillService;
 }
 public CoachSkillController(ICoachSkillService coachskill)
 {
     _coachSkillManager = (CoachSkillManager)coachskill;
 }