Esempio n. 1
0
        public IActionResult GetByIdentificacion(string identificacion)
        {
            var service  = new ConsultarDocenteService(_docenteRepository);
            var response = service.GetByIdentificacion(identificacion);

            return(Ok(response));
        }
Esempio n. 2
0
        public IActionResult GetByIdentificacion(int dptoId)
        {
            var service  = new ConsultarDocenteService(_docenteRepository);
            var response = service.GetByDepartamento(dptoId);

            return(Ok(response));
        }
Esempio n. 3
0
        public IActionResult GetALl()
        {
            var service  = new ConsultarDocenteService(_docenteRepository);
            var response = service.GetAll();

            return(Ok(response));
        }