public async Task <IActionResult> GetOrderProposalsFeed([FromServices] IBookingEngine bookingEngine, long?afterTimestamp, string afterId, long?afterChangeNumber)
 {
     try
     {
         // Note only a subset of these parameters will be supplied when this endpoints is called
         // They are all provided here for the bookingEngine to choose the correct endpoint
         // The auth token must also be provided from the associated authentication method
         string clientId = User.GetAccessTokenOrdersFeedClaim();
         return((await bookingEngine.GetOrderProposalsRPDEPageForFeed(clientId, afterTimestamp, afterId, afterChangeNumber)).GetContentResult());
     }
     catch (OpenBookingException obe)
     {
         return(obe.ErrorResponseContent.GetContentResult());
     }
 }
 public async Task <HttpResponseMessage> GetOrderProposalsFeed(long?afterTimestamp = (long?)null, string afterId = null, long?afterChangeNumber = (long?)null)
 {
     try
     {
         // Note only a subset of these parameters will be supplied when this endpoints is called
         // They are all provided here for the bookingEngine to choose the correct endpoint
         // The auth token must also be provided from the associated authentication method
         string clientId = AuthenticationHelper.GetClientIdFromAuth(Request, User);
         return((await _bookingEngine.GetOrderProposalsRPDEPageForFeed(clientId, afterTimestamp, afterId, afterChangeNumber)).GetContentResult());
     }
     catch (OpenBookingException obe)
     {
         return(obe.ErrorResponseContent.GetContentResult());
     }
 }