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; }
public static Models.Address ToModel(this DTO.Address DTOObject) { return(DTOObject.ParseObject <DTO.Address, Models.Address>()); }