public bool Equals(ConsentFacade other)
 {
     if (ReferenceEquals(null, other))
     {
         return(false);
     }
     if (ReferenceEquals(this, other))
     {
         return(true);
     }
     return(Equals(other.consent, consent));
 }
 public bool Equals(ConsentFacade other) {
     if (ReferenceEquals(null, other)) { return false; }
     if (ReferenceEquals(this, other)) { return true; }
     return Equals(other.consent, consent);
 }