fix small bug
continuous-integration/drone/push Build is passing Details

master
ceruIean 2021-12-08 17:00:27 +08:00
parent 3dd8cc1a92
commit b0f6b1b6c9
1 changed files with 1 additions and 0 deletions

View File

@ -109,6 +109,7 @@ namespace _2021_backend.Pages.Students
public async Task<IActionResult> OnPostReselectAllAsync(int? pageId,string errInfo) public async Task<IActionResult> OnPostReselectAllAsync(int? pageId,string errInfo)
{ {
if (pageId == null) pageId = 0;
foreach (var s in Context.Students) foreach (var s in Context.Students)
{ {
if (s.Status != status.) s.Status = status.; if (s.Status != status.) s.Status = status.;