public City DTOToCity(CityDTO cityDTO) { var result = _memberService.ZIPExistsInDB(cityDTO.ZIP); if (result == null) { return(new City(cityDTO.ZIP, cityDTO.CountryName, cityDTO.CountryName)); } else { return(result); } }