corrected a typo (genre's -> genre) (#1754)
parent
996c82383a
commit
4824603da5
|
@ -292,7 +292,7 @@ namespace MvcMovie.Controllers
|
|||
// Search by genre.
|
||||
public async Task<IActionResult> Index(string movieGenre, string searchString)
|
||||
{
|
||||
// Use LINQ to get list of genre's.
|
||||
// Use LINQ to get list of genres.
|
||||
IQueryable<string> genreQuery = from m in _context.Movie
|
||||
orderby m.Genre
|
||||
select m.Genre;
|
||||
|
|
Loading…
Reference in New Issue