예제 #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;
 }
예제 #2
0
 public NationController(INationService nationService)
 {
     _nationService = nationService;
 }
예제 #3
0
 public NationController(INationService nation)
 {
     _nationManager = (NationManager)nation;
 }
예제 #4
0
 public NationController(INationService nationService, ILogger logger, IMaintainFactory maintainFactory)
 {
     _nationService   = nationService;
     _ILogger         = logger;
     _maintainFactory = maintainFactory;
 }