protected void Delivery(LeaveRequest request) { Chain.DoChain(request); }
public abstract void ProcessRequest(LeaveRequest request);
public void HandleRequest(LeaveRequest leaveRequest) { Console.WriteLine("HR: Leave Approved"); }
public void HandleRequest(LeaveRequest leaveRequest) { Console.WriteLine("Leave approved by HR."); }
public void HandlerRequest(LeaveRequest leave) { Console.WriteLine("HR Approved" + " leave for " + leave.LeaveDays + " days to " + leave.Employee); }