public IActionResult Overview(string title) { LogsService.Log("Overview", "Overview requested"); var recipeOverviewData = new RecipeOverviewDataModel(); var recipes = RecipesService.GetByTitle(title); var overviewViewModels = recipes .Select(x => ModelConverter.ConvertToOverviewModel(x)) .ToList(); var sidebarData = RecipesService.GetSidebarData(); recipeOverviewData.Recipes = overviewViewModels; recipeOverviewData.SidebarData = sidebarData; return(View(recipeOverviewData)); }