private void RequestApproval(double amount) { string pendingApprover = approverChain.Approve(amount); OrderItems.Add(string.IsNullOrEmpty(pendingApprover) ? $"Expense of {amount} € was not approved by anyone" : $"Expense of {amount} € is pending at {pendingApprover}"); }
private void RequestApproval(double amount) { string approver = approverChain.Approve(amount); OrderItems.Add(string.IsNullOrEmpty(approver) ? $"Expense of {amount} € was not approved" : $"Expense of {amount} € was approved by {approver}"); }