Ejemplo n.º 1
0
 public Address EditAddress(string street, string city, string country, string zipCode)
 {
     Street  = Utilitaty.Equals(this.Street, street);
     City    = Utilitaty.Equals(this.City, city);
     Country = Utilitaty.Equals(this.Country, country);
     ZipCode = Utilitaty.Equals(this.ZipCode, zipCode);
     return(this);
 }
Ejemplo n.º 2
0
 public Profile EditProfile(Name name, string imageUrl, Document document, Email email, Phone phone, User user, Address address)
 {
     this.Name     = Utilitaty.Equals(this.Name, name);
     this.ImageUrl = Utilitaty.Equals(this.ImageUrl, imageUrl);
     this.Document = Utilitaty.Equals(this.Document, document);
     this.Email    = Utilitaty.Equals(this.Email, email);
     this.Phone    = Utilitaty.Equals(this.Phone, phone);
     this.User     = Utilitaty.Equals(this.User, user);
     this.Address  = Utilitaty.Equals(this.Address, address);
     return(this);
 }