Example #1
0
 public void Reject(HolidayRequest request)
 {
     request.Process(new RejectedRequestState());
 }
Example #2
0
 public RequestHandler(HolidayRequest request)
 {
     request.Process(new PendingRequestState());
 }
Example #3
0
 public void Aprove(HolidayRequest request)
 {
     request.Process(new ApprovedRequestState());
 }