public Task <Order> GetOrderAsync(Guid walletId, Guid orderId) { if (walletId == Guid.Empty) { throw new ArgumentException("walletId"); } if (orderId == Guid.Empty) { throw new ArgumentException("orderId"); } var request = new GetOrderMessageBuilder(walletId, orderId); return(SendAsync(request).ReadAsAsync <Order>()); }
public Task <Order> GetOrderAsync(Guid walletId, Guid orderId) { if (walletId == Guid.Empty) throw new ArgumentException("walletId"); if (orderId == Guid.Empty) throw new ArgumentException("orderId"); var request = new GetOrderMessageBuilder(walletId, orderId); return SendAsync(request).ReadAsAsync<Order>(); }