Ejemplo n.º 1
0
        public IHttpActionResult GetTeachersByNameLastName([FromUri] string name, [FromUri] string lastName)
        {
            logger.Info("Getting teachers by name, controller");
            IEnumerable <TeacherDTOOut> teacher = teachersService.GetTeachersByNameLastName(name, lastName);

            return(Ok(teacher));
        }