public static async Task DeleteItemAsync(string id, string category) { await items.DeleteItemAsync <TodoItem>(category, id); }
/// <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); }