public string ObtenerAutomovil(int id) { try { Automovil auto = new Automovil(); auto.Id = id; return(auto.Obtener()); } catch (Exception ex) { return(ex.InnerException.Message); } }