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);
 }
Exemple #2
0
 public CounterModel(Counter counter)
 {
     CounterID = counter.ID;
     AddressID = counter.AddressID;
     AddressData = new AddressModel(counter.Address);
 }