Ejemplo n.º 1
0
        public List <Instructor> GetAllInstructors()
        {
            InstructorRepository repository = new InstructorRepository();
            var instr = repository.GetAll();

            return(instr);
        }
Ejemplo n.º 2
0
        public List <Instructor> GetAllInstructor()
        {
            InstructorRepository instructorRepository = new InstructorRepository();
            var instructor = instructorRepository.GetAll();

            return(instructor);
        }
 public IActionResult Get()
 {
     return(Ok(_instructorRepository.GetAll()));
 }
Ejemplo n.º 4
0
 public List <Instructor> GetAllInstructors()
 {
     return(instructorRepository.GetAll());
 }
Ejemplo n.º 5
0
 public List <Instructor> GetAll()
 {
     return(_repository.GetAll());
 }
Ejemplo n.º 6
0
        public List <Instructor> GetAllInstructor()
        {
            var inst = repository.GetAll();

            return(inst);
        }