public Task<Wallet[]> GetAllWalletsAsync(Guid userId, Page page) { if (userId == Guid.Empty) throw new ArgumentException("userId"); if (page == null) throw new ArgumentNullException("page"); var request = new GetAllWalletsMessageBuilder(userId, page); return SendAsync(request).ReadAsAsync<Wallet[]>(); }
public Task <Wallet[]> GetAllWalletsAsync(Guid userId, Page page) { if (userId == Guid.Empty) { throw new ArgumentException("userId"); } if (page == null) { throw new ArgumentNullException("page"); } var request = new GetAllWalletsMessageBuilder(userId, page); return(SendAsync(request).ReadAsAsync <Wallet[]>()); }