public async Task <ActionResult <string> > Put(string numero)
        {
            var response = _service.AprobarSolicitud(numero);

            if (response.Error)
            {
                ModelState.AddModelError("Error al modificar la solicitud", response.Mensaje);
                var detallesproblemas = new ValidationProblemDetails(ModelState);

                if (response.Estado == "No existe")
                {
                    detallesproblemas.Status = StatusCodes.Status404NotFound;
                }
                if (response.Estado == "Insuficiente")
                {
                    detallesproblemas.Status = StatusCodes.Status404NotFound;
                }
                if (response.Estado == "Error Aplicacion")
                {
                    detallesproblemas.Status = StatusCodes.Status500InternalServerError;
                }
                return(BadRequest(detallesproblemas));
            }
            var solicitudview = new SolicitudViewModel(response.Solicitud);
            await _hubContext.Clients.All.SendAsync("solicitudRegistrada", solicitudview);

            return(Ok(solicitudview));
        }