Update Index.cshtml.cs (#24037)
I think that the warning should be restored after the class instead of being disabled again.pull/24044/head
parent
ddcccd2e83
commit
3241d60695
|
@ -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
|
Loading…
Reference in New Issue