public async Task GetConnectionCount() { ApiResponse response = await NetworkApi.GetConnectionCount(); Assert.IsFalse(response.HasError); long result = response.GetResult <long>(); Assert.IsNotNull(result); }
public Result <long> GetConnectionCount() { ApiResponse response = NetworkApi.GetConnectionCount().Result; return(GetResult <long>(response)); }