public IActionResult GetStudents() { _logger.Fatal("Muellim butun telebe axtarir O Yes CONTROLLER StudentController"); StudentS_Repository repo = new StudentS_Repository(); List <Student> students = repo.GetStudents(); return(View(students)); }
public IActionResult GetStudent(int id) { _logger.Info("Muellim Telebe axtarir***************** StudntID" + id); StudentS_Repository repository = new StudentS_Repository(); Student student = repository.GetStudent(id); return(View(student)); }