namespace cwebplusApp.Shared.Models { public class ZipCity { public string Zip { get; set; } public string City { get; set; } public string Zip_City { get; set; } public ZipCity() { } public ZipCity(string zipCity) { Zip_City = zipCity; Zip = zipCity.Split(' ')[0]; City = zipCity.Replace(Zip + " ", ""); } public ZipCity(string _zip, string _city) { Zip = _zip; City = _city; Zip_City = _zip + " " + _city; } } }