public void Can_Get_Filtered_RecordPaging() { var filter = new Api.FilterOrders() { MinimumId = 3000 }; var response_count = Client.Orders.Count(filter); var response_list = Client.Orders.GetList(filter); Assert.AreEqual(response_list.Count, response_count.Data.Count); }
public void Can_Get_Filtered_RecordPaging() { var filter = new Api.FilterOrders() { MinimumId = 3000 }; var response_count = Client.Brands.Count(filter); var response_list = Client.Brands.GetList(filter); Assert.AreEqual(response_list.Count, response_count.Data.Count); }
public void Can_Get_Filtered() { var filter = new Api.FilterOrders() { MaximumId = 30 }; var response = Client.Brands.Get(filter); Assert.AreEqual(response.RestResponse.StatusCode, System.Net.HttpStatusCode.OK); Assert.Greater(response.Data.Count, 0); }
public void Can_Get_Filtered() { var filter = new Api.FilterOrders() { MaximumId = 30 }; var response = Client.Brands.Get(filter); Assert.AreEqual(response.RestResponse.StatusCode, System.Net.HttpStatusCode.OK); Assert.Greater(response.Data.Count, 0); }