public void InsertComboboxAddressInformation(AddressViewDTO address) { address = address ?? new AddressViewDTO(); this.SelectedCityId = address.Address.AddressCityID; this.SelectedRegionId = address.Address.AddressRegionID; this.SelectedStreetId = address.Address.AddressStreetID; this.TbHomeNumber = address.Address.HomeNumber; this.TbApartmentNumber = address.Address.ApartmentNumber; this.CityObject = address.AddressCity; this.RegionObject = address.AddressRegion; this.StreetObject = address.AddressStreet; }
public AddressPropertyViewModel(AddressViewDTO addressModel) { AddressModel = addressModel ?? new AddressViewDTO(); ThreadPool.QueueUserWorkItem(InvokeAsync); }