Пример #1
0
 public static string GetDetails(Counter counter)
 {
     return string.Format("{0} {1} {2}, {3}", counter.Address.CityName, counter.Address.StreetName, counter.Address.HouseNumber,
         counter.Address.ApartmentNumber);
 }
Пример #2
0
 public CounterModel(Counter counter)
 {
     CounterID = counter.ID;
     AddressID = counter.AddressID;
     AddressData = new AddressModel(counter.Address);
 }