Ejemplo n.º 1
0
        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));
        }
Ejemplo n.º 2
0
        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));
        }