public void GetCounts() { // Arrange var request = new GetCountsRequest(); request.Params.Add(new GetCountsRequestParams { MinCount = 100 }); // Act var response = _client.Server.GetCountsAsync(request).Result; // Assert Assert.AreEqual(Status.Success, response.Result.Status); }
public async Task <RpcJsonResponse <GetCountsResult> > GetCountsAsync(GetCountsRequest request) { return(await PostAsync <RpcJsonResponse <GetCountsResult>, GetCountsResult>(request)); }