public ActionResult CancelarSolicitud(String id) { try { _solicitudService.CancelarSolicitud(id); return(Ok("La solicitud se ha eliminado")); } catch (SolicitudeNotFoundException SolicitudeNotFoundException) { return(NotFound(SolicitudeNotFoundException.ExceptionDto)); } }