public async Task Update(T item) { var keys = _grid.GetPrimaryKeyValues(item); string url = GetUrl(_grid, _url, keys); var response = await _httpClient.PutAsJsonAsync <T>(url, item, _jsonOptions); if (!response.IsSuccessStatusCode) { throw new GridException("ODATA-02", "Error updating the order"); } }