public void Remove(ValidationMessage validationMessage) { _validationMessagesCollection.RemoveAll(q => q.Code.Equals(validationMessage.Code)); }
public void Add(ValidationMessage validationMessage) { _validationMessagesCollection.Add(validationMessage); }