I want to Create a "max price" filter system from the Asp net core 3.1 "MvMovie" tutorial project.
this is the View/movies/Index.cshtml

```
@model MvcMovie.Models.MovieGenreViewModel

```

```
    <select asp-for="MovieGenre" asp-items="Model.Genres">
        <option value="">All</option>
    </select>

    Title: <input type="text" asp-for="SearchString" />
    <input type="submit" value="Filter" />

    Max price <input type="text" asp-for="Movies" />
    <input type="submit" value="Filter" />
</p>

```

This is what I have added

```
Max price <input type="text" asp-for="Movies.price" />
    <input type="submit" value="Filter" />

```

The problem is that I cannot recieve the price from the Movie class ( Models/movies)

```
 public class Movie
{
    public int Id { get; set; }

    [StringLength(60, MinimumLength = 3)]
    [Required]
    public string Title { get; set; }

    [Display(Name = "Release Date")]
    [DataType(DataType.Date)]
    public DateTime ReleaseDate { get; set; }

    [Range(1, 100)]
    [DataType(DataType.Currency)]
    [Column(TypeName = "decimal(18, 2)")]
    public decimal Price { get; set; }

    [RegularExpression(@"^[A-Z]+[a-zA-Z]*$")]
    [Required]
    [StringLength(30)]
    public string Genre { get; set; }

    [RegularExpression(@"^[A-Z]+[a-zA-Z0-9""'\s-]*$")]
    [StringLength(5)]
    [Required]
    public string Rating { get; set; }
}

```

Because it is using the @model MvcMovie.Models.MovieGenreViewModel
Models/MovieGenreViewModel.cs:

```
    public class MovieGenreViewModel
{
    public List<Movie> Movies { get; set; }
    public SelectList Genres { get; set; }
    public string MovieGenre { get; set; }
    public string SearchString { get; set; }

}

```

I know the "Price" data is in the List

```
List<Movie>

```

but how do I extract it and put it in the View/movies/Index.cshtml so I can work on my price filter system.