public void AddError(OperationError error) { Succeeded = false; Errors = Errors.Append(error); }
public static OperationResult Error(OperationError error) => new OperationResult { Errors = new[] { error }, Succeeded = false };
public void AddError(OperationError error) { Succeeded = false; Errors = Errors.Append(error); }
public static OperationResult Error(OperationError error) => new OperationResult { Errors = new[] { error }, Succeeded = false };