public EmpresaListar RetornaEmpresas(FiltroEmpresas filtro) { var RNEmpresa = new ZRN.Empresas.Empresas(Configuracoes.ServidorElastic, Configuracoes.IndexElastic); filtro.regInicial = (filtro.pagina - 1) * filtro.qtdregistros; var empListar = new EmpresaListar(); empListar.Empresas = RNEmpresa.RetornaEmpresas(filtro, ZRN.Empresas.Empresas.CampoOrdenacao.Nome, ZRN.Empresas.Empresas.SentidoOrdenacao.Crescente); empListar.TotalEmpresas = RNEmpresa.TotalEmpresas; return(empListar); }
public List <TagNoticia> GetTagsNoticia(int idNoticia) { var empresas = new ZRN.Empresas.Empresas(); return(empresas.RetornaTagsNoticia(idNoticia)); }
public List <NoticiasEmpresa> GetEmpresasNoticia(int idNoticia) { var empresas = new ZRN.Empresas.Empresas(); return(empresas.RetornaEmpresasNoticia(idNoticia)); }
public List <ZRN.Graficos.Linha> GetGraficoLancamentoProdutos(int idEmpresa, int QtdeMeses = 12) { var RN = new ZRN.Empresas.Empresas(); return(RN.RetornaGraficoLancamentoProdutos(idEmpresa, QtdeMeses)); }
public List <ZRN.Combos.ItemCombo> GetEmpresasCliente(int idCliente) { var ZRNEmpresas = new ZRN.Empresas.Empresas(); return(ZRNEmpresas.RetornaListaEmpresas(idCliente)); }