예제 #1
0
 public static async Task DeleteItemAsync(string id, string category)
 {
     await items.DeleteItemAsync <TodoItem>(category, id);
 }
예제 #2
0
 /// <summary>
 /// Delete the Product
 /// </summary>
 /// <param name="id"></param>
 /// <param name="catName"></param>
 /// <returns></returns>
 public static async Task DeleteProductAsync(string id, string catName)
 {
     await items.DeleteItemAsync <ProductInfo>(catName, id);
 }