/// <param name='operations'> /// The operations group for this extension method. /// </param> /// <param name='listData'> /// </param> public static void AddShoppingList(this IShoppingAPI operations, ShoppingList listData = default(ShoppingList)) { operations.AddShoppingListAsync(listData).GetAwaiter().GetResult(); }
public async Task AddList(ShoppingList item) { await _client.AddShoppingListAsync(item); }