Ejemplo n.º 1
0
        public async Task <IActionResult> GetAllByDesactive([FromServices] INurseRepository repository)
        {
            var result = await repository.GetAllDesactive(false);

            return(Ok(_mapper.Map <IEnumerable <NurseViewModel> >(result)));
        }