示例#1
0
文件: QryTree.cs 项目: rico3d2001/TCC
        public static List <ArquivoNavDTO> GetArquivosNav(string guidConfiguracao, string baseURL)
        {
            string api = "api/ArquivosNav/" + guidConfiguracao;

            QryGenericList <ArquivoNavDTO> qryGenericList = new QryGenericList <ArquivoNavDTO>();

            List <ArquivoNavDTO> listaArquivosNav = qryGenericList.GetLista(api, baseURL);

            return(listaArquivosNav);
        }
示例#2
0
文件: QryTree.cs 项目: rico3d2001/TCC
        public static List <PlanilhaNavDTO> GetPlanilhasNav(string guidArquivo, string baseURL)
        {
            string api = "api/PlanilhasNav/" + guidArquivo;

            QryGenericList <PlanilhaNavDTO> qryGenericList = new QryGenericList <PlanilhaNavDTO>();

            List <PlanilhaNavDTO> listaPlanilhasNav = qryGenericList.GetLista(api, baseURL);

            return(listaPlanilhasNav);
        }
示例#3
0
文件: QryTree.cs 项目: rico3d2001/TCC
        public static List <ConfiguracaoNavDTO> GetConfiguracoes(string baseURL)
        {
            var hndlr = new HttpClientHandler();

            hndlr.UseDefaultCredentials = true;
            string api = "api/ConfiguracoesNav";

            QryGenericList <ConfiguracaoNavDTO> qryGenericList = new QryGenericList <ConfiguracaoNavDTO>();

            List <ConfiguracaoNavDTO> listaConfiguracaoNav = qryGenericList.GetLista(api, baseURL);

            return(listaConfiguracaoNav);
        }