diff --git a/aspnetcore/tutorials/razor-pages/razor-pages-start/snapshot_sample6/Pages/Movies/Index.cshtml.cs b/aspnetcore/tutorials/razor-pages/razor-pages-start/snapshot_sample6/Pages/Movies/Index.cshtml.cs index 8b9a863c90..8d2c2c63dc 100644 --- a/aspnetcore/tutorials/razor-pages/razor-pages-start/snapshot_sample6/Pages/Movies/Index.cshtml.cs +++ b/aspnetcore/tutorials/razor-pages/razor-pages-start/snapshot_sample6/Pages/Movies/Index.cshtml.cs @@ -26,8 +26,8 @@ namespace RazorPagesMovie.Pages.Movies Movie = await _context.Movie.ToListAsync(); } } -#pragma warning disable CS8618 -#pragma warning disable CS8604 +#pragma warning restore CS8618 +#pragma warning restore CS8604 } #endregion -#endregion \ No newline at end of file +#endregion