public virtual string AuthorizerRequest(Requisition requisition) { string message; if (requisition.Amount > MaximumAmount) { message = Next.AuthorizerRequest(requisition); } else { message = MessageFormat.GetAuthorizationMessage(requisition.Concept, AuthorizerName); } return(message); }
public override string AuthorizerRequest(Requisition requisition) { string message; if (requisition.Amount > MaximumAmount) { message = MessageFormat.GetRejectionMessage(requisition.Concept, AuthorizerName); } else { message = MessageFormat.GetAuthorizationMessage(requisition.Concept, AuthorizerName); } return(message); }