public IActionResult Delete(int?id) { if (id == null) { return(NotFound()); } var obj = _professorService.FindById(id.Value); if (id == null) { return(NotFound()); } return(View(obj)); }
public IActionResult Delete(int?id) { if (id == null) { return(NotFound()); } var obj = _professorService.FindById(id.Value); if (id == null) { return(NotFound()); } return(View(obj)); }