public async Task <string> UpdateProductCategory(int categoryid, Product_Category pc, Dictionary <string, string> parms = null) { return(await API.SendHttpClientRequest("products/categories/" + categoryid.ToString(), RequestMethod.PUT, pc, parms).ConfigureAwait(false)); }
public async Task <string> PostProductCategory(Product_Category pc, Dictionary <string, string> parms = null) { return(await API.SendHttpClientRequest("products/categories", RequestMethod.POST, pc, parms).ConfigureAwait(false)); }