public IActionResult Project(int id) { Project projectFromDb = _context.GetProject(id); ProjectDetailsViewModel model = new ProjectDetailsViewModel() { Titel = projectFromDb.Titel, Beschrijving = projectFromDb.Beschrijving, Status = projectFromDb.Status.Naam, ImageFile = projectFromDb.Image, Tags = projectFromDb.TagProjects.Select(tagprojects => tagprojects.Tag).Select(tag => tag.Naam).ToList() }; return(View(model)); }