Beispiel #1
0
 public async static Task UpsertProductsAsync(string categoryId, IEnumerable <Product> products)
 {
     await ProxyHelper.PostAsync <object>("CategoryProducts/Upsert", new {
         CategoryId = categoryId,
         Products   = products
     });
 }
Beispiel #2
0
 public async static Task <IEnumerable <Category> > UpsertCategoriesAsync(IEnumerable <Category> categories)
 {
     return(await ProxyHelper.PostAsync <IEnumerable <Category> >("Categories/Upsert", categories));
 }