예제 #1
0
파일: Entrega.cs 프로젝트: icaroferj/ir-api
 public EstruturaEntrega CarregarEstruturaPeloControleID(int EntregaControleID)
 {
     try
     {
         IRLib.Entrega oEntrega = new IRLib.Entrega();
         return(oEntrega.CarregarEstruturaPeloControleID(EntregaControleID));
     }
     catch (Exception ex)
     {
         throw ex;
     }
 }
예제 #2
0
파일: Entrega.cs 프로젝트: icaroferj/ir-api
 public List <DataAgenda> ListarDatasVIR(DateTime dataExibicao, int EntregaID, string CEP, DateTime MenorValidade)
 {
     try
     {
         IRLib.Entrega oEntrega = new IRLib.Entrega();
         return(oEntrega.ListarDatasVIR(dataExibicao, EntregaID, CEP, MenorValidade));
     }
     catch (Exception ex)
     {
         throw ex;
     }
 }
예제 #3
0
파일: Entrega.cs 프로젝트: icaroferj/ir-api
 private string TipoEntrega(int EntregaControleIDSelecionado)
 {
     try
     {
         IRLib.Entrega oEntrega = new IRLib.Entrega();
         return(oEntrega.TipoEntrega(EntregaControleIDSelecionado));
     }
     catch (Exception)
     {
         throw;
     }
 }
예제 #4
0
파일: Entrega.cs 프로젝트: icaroferj/ir-api
        public List <EstrutraEntregaSimples> BuscarEntregasMobile(List <int> listaApresentacao, List <int> listaEventos)
        {
            try
            {
                List <EstrutraEntregaSimples> retorno = new List <EstrutraEntregaSimples>();

                int BilheteriaID = ConfigurationManager.AppSettings["IDRetiradaBilheteria"].ToInt32();
                int BilheteWebID = ConfigurationManager.AppSettings["IDBilheteWeb"].ToInt32();

                retorno = new IRLib.Entrega().BuscarEntregasMobile(BilheteriaID, BilheteWebID, listaApresentacao, listaEventos);

                return(retorno);
            }
            catch (Exception ex)
            {
                throw ex;
            }
        }
예제 #5
0
파일: Entrega.cs 프로젝트: icaroferj/ir-api
 public List <EstruturaEntrega> GetByEventoSomentePacotes(int EventoID)
 {
     IRLib.Entrega oEntrega = new IRLib.Entrega();
     return(oEntrega.GetByEventoSomentePacotes(EventoID));
 }
예제 #6
0
파일: Entrega.cs 프로젝트: icaroferj/ir-api
 public List <EstruturaEntrega> GetByEventoApresentacao(int EventoID, int ApresentacaoID)
 {
     IRLib.Entrega oEntrega = new IRLib.Entrega();
     return(oEntrega.GetByEventoApresentacao(EventoID, ApresentacaoID));
 }
예제 #7
0
파일: Entrega.cs 프로젝트: icaroferj/ir-api
 private decimal VerificaValor(int EntregaControleIDSelecionado)
 {
     IRLib.Entrega oEntrega = new IRLib.Entrega();
     return(oEntrega.VerificaValor(EntregaControleIDSelecionado));
 }
예제 #8
0
파일: Entrega.cs 프로젝트: icaroferj/ir-api
 private bool VerificaCep(int EntregaControleIDSelecionado, int EnderecoID)
 {
     IRLib.Entrega oEntrega = new IRLib.Entrega();
     return(oEntrega.VerificaCep(EntregaControleIDSelecionado, EnderecoID));
 }
예제 #9
0
파일: Entrega.cs 프로젝트: icaroferj/ir-api
        public List <DataAgenda> ListarDatas(DateTime dataExibicao, List <int> listaApresentacao, int EntregaID, List <int> listaEventoID, string CEP)
        {
            IRLib.Entrega oEntrega = new IRLib.Entrega();

            return(oEntrega.ListarDatas(dataExibicao, listaApresentacao, EntregaID, listaEventoID, CEP));
        }