示例#1
0
 public async static Task <IEnumerable <Category> > UpsertCategoriesAsync(IEnumerable <Category> categories)
 {
     return(await ProxyHelper.PostAsync <IEnumerable <Category> >("Categories/Upsert", categories));
 }
示例#2
0
 public async static Task <IEnumerable <ProductSignature> > GetProductSignaturesByCategoryIdAsync(string categoryId)
 {
     return(await ProxyHelper.GetAsync <IEnumerable <ProductSignature> >("Products/GetSignaturesByCategoryId?categoryId={0}", new[] { categoryId }));
 }