//Deletes api recipes from RecipeCalendar database
        public async Task <IActionResult> DeleteAPIRecipe(int recipeId, int numDaysFromToday)
        {
            var userId         = User.FindFirstValue(ClaimTypes.NameIdentifier);
            var recipeIsDelete = await _repositoryClient.DeleteAPIRecipeFromMealPlan(recipeId, userId, numDaysFromToday);

            if (recipeIsDelete)
            {
                return(RedirectToAction("MealDeleteCalendar", "MealPlanning"));
            }
            else
            {
                return(RedirectToAction("Error", "Home"));
            }
        }