public ProductsResponse GetProduct(int productId) { return(JsonConvert.DeserializeObject <ProductsResponse>(_datastore.GetData(_url, new NameValueCollection { _formData, { "action", "getproducts" }, { "pid", productId.ToString() } }))); }