Beispiel #1
0
 public static void RecipesInsertItem(this IAPIClient operations, RecipeModelInner recipe)
 {
     operations.RecipesInsertItem(recipe.Name, recipe.Description, recipe.FoodType.ToString(), recipe.Id);
 }
Beispiel #2
0
 public static async Task RecipesInsertItemAsync(this IAPIClient operations, RecipeModelInner recipe, CancellationToken cancellationToken = default)
 {
     await operations.RecipesInsertItemAsync(recipe.Name, recipe.Description, recipe.FoodType.ToString(), recipe.Id, cancellationToken);
 }