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