public ErrorList Merge(ErrorList otherErrors) { this.AddRange(otherErrors); return(this); }
public static void AddErrorMessages(this ModelStateDictionary modelStateDictionary, ErrorList errors) { foreach (var error in errors) { modelStateDictionary.AddErrorMessage(error); } }