public LeagueController(IGetLeagueCommand getLeagueCommand, IGetLeaguesCommand getLeaguesCommand, IAddLeagueCommand addLeagueCommand, IEditLeagueCommand editLeagueCommand, IDeleteLeagueCommand deleteLeagueCommand) { _getLeagueCommand = getLeagueCommand; _getLeaguesCommand = getLeaguesCommand; _addLeagueCommand = addLeagueCommand; _editLeagueCommand = editLeagueCommand; _deleteLeagueCommand = deleteLeagueCommand; }
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; }