예제 #1
0
        public List <Track_GetInformeViajes_Result> GetInformeViajes(DateTime desde, DateTime hasta, int nroTransporte, int nroOS, string patente, string transportista, string userName, string tipoEtis)
        {
            try
            {
                ((System.Data.Entity.Infrastructure.IObjectContextAdapter)_context).ObjectContext.CommandTimeout = 120;

                List <Track_GetInformeViajes_Result> _listViajes = _context.Track_GetInformeViajes(desde, hasta, transportista, patente, nroTransporte, nroOS, userName, tipoEtis).ToList();
                return(_listViajes);
            }
            catch (Exception)
            {
                return(new List <Track_GetInformeViajes_Result>());
            }
        }