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