public CitiesController(IAddCityCommand addCityCommand, IGetCitiesCommand getCitiesCommand, IDeleteCItyCommand deleteCItyCommand, IGetCityCommand getCityCommand, IEditCityCommand editCityCommand) { _addCityCommand = addCityCommand; _deleteCItyCommand = deleteCItyCommand; _editCityCommand = editCityCommand; _getCitiesCommand = getCitiesCommand; _getCityCommand = getCityCommand; }
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; }