public async Task <JsonResult> GetZipCodeAndCityId(string zip4, string zip3) { var exists = await _zipCodeRepository.ZipCodeExistsAsync(zip4, zip3); if (exists) { var zipcode = await _zipCodeRepository.GetZipCodeAsync(zip4, zip3); var cityName = await _cityRepository.GetByIdAsync(zipcode.CityId); string data = zipcode.Id + "," + cityName.CityName; return(this.Json(data)); } return(null); }