示例#1
0
 public async Task <IActionResult> DeleteConfirmed(int id)
 {
     _personelRepository.DeletePersonelById(id);
     _personelRepository.Save();
     return(RedirectToAction(nameof(Index)));
 }