Example #1
0
 public Address(DTO.Address address)
 {
     this.Street     = address.Street;
     this.District   = address.District;
     this.Number     = address.Number;
     this.Complement = address.Complement;
     this.ZipCode    = address.ZipCode;
     this.State      = address.State;
     this.City       = address.City;
 }
Example #2
0
 public static Models.Address ToModel(this DTO.Address DTOObject)
 {
     return(DTOObject.ParseObject <DTO.Address, Models.Address>());
 }