Пример #1
0
 public IActionResult Delete(int?id)
 {
     if (id != null)
     {
         teacherService.RemovTeacher((int)id);
         return(RedirectToAction(nameof(Index)));
     }
     return(Content(""));
 }