public async Task <IEnumerable <Size> > ListAsync() { var list = await _client.GetAsync <ListResponse <Size> >("sizes"); return(list.Result); }
public async Task <ProductListResponse> ListAsync(ProductFilter filter = null) { return(await _client.GetAsync <ProductListResponse>($"products/{filter?.GetQueryString()}")); }
public async Task <IEnumerable <Category> > ListAsync() { var list = await _client.GetAsync <ListResponse <Category> >("categories/list"); return(list.Result); }