Example #1
0
 public void ToDbAddress(Address result)
 {
     result.CityName = this.CityName;
     result.StreetName = this.StreetName;
     result.HouseNumber = this.HouseNumber;
     result.ApartmentNumber = this.ApartmentNumber;
     result.latitude = this.Latitude;
     result.longitude = this.Longitude;
 }
Example #2
0
 public AddressModel(Address address)
 {
     AddressID = address.ID;
     CityName = address.CityName;
     StreetName = address.StreetName;
     HouseNumber = address.HouseNumber;
     ApartmentNumber = address.ApartmentNumber;
     Latitude = address.latitude;
     Longitude = address.longitude;
 }