public async Task <InstructorModel> Handle(Ejecuta request, CancellationToken cancellationToken) { var result = await _instructorRepository.GetForId(request.Id); if (result == null) { throw new Exception("No se encontro el instructor"); } return(result); }