public CountryStubSearchModel SearchCountryStubCitiesWithServices(CountryStubSearchModel searchModel) { GetCountrySearchStubCommand getCountrySearchStubCommand = new GetCountrySearchStubCommand(searchModel, null); getCountrySearchStubCommand.Execute(); searchModel.Result = getCountrySearchStubCommand.CommandResult; return(searchModel); }
public CommunityCountryStubSearchModel SearchCountryStubCitiesWithCommunities(CommunityCountryStubSearchModel searchModel) { GetCountrySearchStubCommand getCountrySearchStubCommand = new GetCountrySearchStubCommand(searchModel, new ListingType?(searchModel.ListingType)); getCountrySearchStubCommand.Execute(); searchModel.Result = getCountrySearchStubCommand.CommandResult; return(searchModel); }