Example #1
0
 public TeamController()
 {
     _repo = new RepositoryGameObserver();
     _mapperTeamToTeamModel = new TeamToTeamModel();
     _mapperActorToActorModel = new ActorToActorModel();
     _mapperClubToClubModel = new ClubToClubModel();
     _mapperFormationToFormationModel = new FormationToFormationModel();
     _mapperIntegrateToIntegrateModel = new IntegrateToIntegrateModel();
 }
Example #2
0
 public HomeController()
 {
     try
     {
         _repo = new RepositoryGameObserver();
     }
     catch (Exception e)
     {
         int a = 0;
     }
 }
Example #3
0
 public SetUpController()
 {
     _repo = new RepositoryGameObserver();
     _mapperTeamToTeamModel = new TeamToTeamModel();
     _mapperActorToActorModel = new ActorToActorModel();
     _mapperStadiumToStadiumModel = new StadiumToStadiumModel();
     _mapperMatchModelToMatch = new MatchModelToMatch();
     _mapperMatchToMatchModel = new MatchToMatchModel();
     _mapperFormationToFormationModel = new FormationToFormationModel();
     _mapperPositionToPositionModel = new PositionToPositionModel();
     _mapperClubToClubModel = new ClubToClubModel();
     _mapperEventToEventModel = new EventToEventModel();
     _mapperInstantToInstantModel = new InstantToInstantModel();
     _mapperOpinionToOpinionModel = new OpinionToOpinionModel();
     _mapperPlayerToPlayerModel = new PlayerToPlayerModel();
     _mapperIntegrateToIntegrateModel = new IntegrateToIntegrateModel();
 }
Example #4
0
 public UserController()
 {
     _repo = new RepositoryGameObserver();
     _mapperMatchModelToMatch = new MatchModelToMatch();
     _mapperMatchToMatchModel = new MatchToMatchModel();
 }