public Boolean IsEqualsTo(dtoBaseMessageRecipient other)
 {
     return(other != null && ((IdPerson > 0) || (IdPerson < 1 && other.MailAddress == MailAddress)) && other.IdPerson.Equals(IdPerson) && other.IdUserModule.Equals(IdUserModule) && other.IdModuleObject.Equals(IdModuleObject));
 }
 public dtoMailTranslatedMessage(dtoBaseMessageRecipient recipient)
 {
     Recipients        = new List <dtoBaseMessageRecipient>();
     RemovedRecipients = new List <dtoBaseMessageRecipient>();
     Recipients.Add(recipient);
 }