@using GoMovies2020.Shared.ViewModels; @model IEnumerable @{ ViewData["Title"] = "Index"; }

Index

Create New

@* Convert the FilmsFilter additional data sent to the view to the FilmFilteViewModel type and store in variable filmsFilter so the partial view can understand it. *@ @{ FilmsFilterViewModel filmsFilter = (FilmsFilterViewModel)ViewData["FilmsFilter"]; } @* TODO Display the partial view *@
@foreach (var item in Model) { }