예제 #1
0
 public LeagueController(IGetLeagueCommand getLeagueCommand, IGetLeaguesCommand getLeaguesCommand, IAddLeagueCommand addLeagueCommand, IEditLeagueCommand editLeagueCommand, IDeleteLeagueCommand deleteLeagueCommand)
 {
     _getLeagueCommand    = getLeagueCommand;
     _getLeaguesCommand   = getLeaguesCommand;
     _addLeagueCommand    = addLeagueCommand;
     _editLeagueCommand   = editLeagueCommand;
     _deleteLeagueCommand = deleteLeagueCommand;
 }
예제 #2
0
 public ClubController(IGetClubCommand getClubCommand, IGetClubsCommand getClubsCommand, IAddClubCommand addClubCommand, IEditClubCommand editClubCommand, IDeleteClubCommand deleteClubCommand, IGetCitiesCommand getCitiesCommand, IGetLeaguesCommand getLeaguesCommand)
 {
     _getClubCommand    = getClubCommand;
     _getClubsCommand   = getClubsCommand;
     _addClubCommand    = addClubCommand;
     _editClubCommand   = editClubCommand;
     _deleteClubCommand = deleteClubCommand;
     _getCitiesCommand  = getCitiesCommand;
     _getLeaguesCommand = getLeaguesCommand;
 }