public IActionResult Create(int id = 0)
        {
            if (authProvider.GetCurrentUser() == null)
            {
                TempData["ErrorMessage"] = "You must login to Create A Recipe!";
                return(RedirectToAction("Login", "Account"));
            }

            string recipeStatus = HttpContext.Session.GetString("NewRecipeStatus");

            ViewBag.RecipeStatus = recipeStatus;

            ViewBag.ExistingCategories  = recipeDAL.GetAllCategories();
            ViewBag.ExistingIngredients = ingredientDAL.GetIngredients();
            ViewBag.Units     = ingredientDAL.GetUnits();
            ViewBag.Numbers   = ingredientDAL.GetNumbers();
            ViewBag.Fractions = ingredientDAL.GetFractions();

            Recipe          recipe    = recipeDAL.GetRecipeById(id);
            RecipeViewModel viewModel = new RecipeViewModel();

            viewModel.ModelRecipe   = recipe;
            ViewBag.IngredientCount = recipe.Ingredients.Count;
            ViewBag.CategoryCount   = recipe.Categories.Count;

            return(View("Create", viewModel));
        }