示例#1
0
 public async Task <IActionResult> OnPostDelete(string id)
 {
     Student = B_User.UserById(id);
     if (Student == null)
     {
         return(NotFound());
     }
     B_User.DeleteUser(Student);
     Message = "Successful Removal 😎 ";
     return(RedirectToPage("Index"));
 }