public async Task <InstructorModel> Handle(Ejecuta request, CancellationToken cancellationToken) { var instructor = await _instructorRepository.ObtenerId(request.InstructorId); if (instructor == null) { throw new ManejadorException(System.Net.HttpStatusCode.NotFound, new { mensaje = "No se encontro el instructor" }); } return(instructor); }