public IActionResult OverviewCountryRelated(string country) { var dbRecipes = Service.GetByCountry(country); var viewModels = dbRecipes.Select(x => x.ToViewModel()).ToList(); return(View(viewModels)); }
public IActionResult OverviewCountryRelated(string country) { var dbRecipes = Service.GetByCountry(country); var viewModels = dbRecipes.Select(x => x.ToViewModel()).ToList(); return(View(viewModels)); }