corrected a typo (genre's -> genre) (#1754)

pull/1758/head
James Orr 2016-08-02 18:56:12 -04:00 committed by Rick Anderson
parent 996c82383a
commit 4824603da5
1 changed files with 1 additions and 1 deletions

View File

@ -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;