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

        public List <int> GetAsientos(int fechaSelected)
        {
            return(blu.GetAsientos(fechaSelected));
        }