Update Index.cshtml.cs (#24037)

I think that the warning should be restored after the class instead of being disabled again.
pull/24044/head
cirinatorres 2021-11-23 18:57:20 +01:00 committed by GitHub
parent ddcccd2e83
commit 3241d60695
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 3 additions and 3 deletions

View File

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