public async Task <IActionResult> Details(int?id) { if (id == null) { return(NotFound()); } var Personel = _personelRepository.GetPersonelById(id.Value); if (Personel == null) { return(NotFound()); } return(View(Personel)); }
public async Task <IActionResult> Details(int?id) { if (id == null) { return(NotFound()); } var Personel = _personelRepository.GetPersonelById(id.Value); if (Personel == null) { return(NotFound()); } return(View(Personel)); }