public IActionResult Details(int id)
        {
            var recipe      = RecipesService.GetRecipeDetails(id);
            var sidebarData = RecipesService.GetSidebarData();

            var recipeDetails = ModelConverter.ConvertToRecipeDetailsModel(recipe);

            recipeDetails.SidebarData = sidebarData;

            if (User.Identity.IsAuthenticated)
            {
                var userId      = Convert.ToInt32(User.FindFirst("Id").Value);
                var currentLike = recipeDetails.RecipeLikes.FirstOrDefault(x => x.UserId == userId);

                if (currentLike != null)
                {
                    if (currentLike.Status)
                    {
                        recipeDetails.LikeStatus = RecipeLikeStatus.Liked;
                    }
                    else
                    {
                        recipeDetails.LikeStatus = RecipeLikeStatus.Disliked;
                    }
                }
            }

            return(View(recipeDetails));
        }