Ejemplo n.º 1
0
 /// <summary>
 /// Asynchronously queues a FareremarkRequest object in the SirenaClientPool instance
 /// </summary>
 /// <param name="fareremarkRequest">The FareremarkRequest object to send.</param>
 /// <returns>Returns the task object representing the asynchronous operation.</returns>
 public async Task <FareremarkResponse> QueueRequestAsync(FareremarkRequest fareremarkRequest)
 {
     return(await QueueRequestAsync <FareremarkRequest, FareremarkResponse>(fareremarkRequest));
 }
Ejemplo n.º 2
0
 /// <summary>
 /// Sends a FareremarkRequest object to the Sirena server.
 /// </summary>
 /// <param name="fareremarkRequest">The FareremarkRequest object to send.</param>
 /// <returns>Returns a FareremarkResponse object contains the response.</returns>
 public FareremarkResponse SendRequest(FareremarkRequest fareremarkRequest)
 {
     return(SendRequest <FareremarkRequest, FareremarkResponse>(fareremarkRequest));
 }