Beispiel #1
0
 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));
 }
Beispiel #2
0
 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));
 }