public IHttpActionResult GetAsientos(int idViaje) { try { List <int> asisentos = cUsuario.GetAsientos(idViaje); return(Ok(asisentos)); } catch (Exception) { return(NotFound()); } }
// public List<EViaje> GetViajes(int IdSalida) //{ // return blu.GetViajes(IdSalida); //} public List <int> GetAsientos(int fechaSelected) { return(blu.GetAsientos(fechaSelected)); }