public bool Equals(ErrorMessageEntity other)
 {
     if (ReferenceEquals(null, other))
     {
         return false;
     }
     if (ReferenceEquals(this, other))
     {
         return true;
     }
     return Equals(other.Code, Code) && Equals(other.ErrorPath, ErrorPath) && Equals(other.Description, Description);
 }
 public ValidationException(ErrorMessageEntity messageEntity)
 {
     ErrorMessages = new ErrorMessagesEntity {messageEntity};
 }