Exemplo n.º 1
0
        public static List <ServicoTT> getAllServicos(string orcamento)
        {
            List <ServicoTT> Lista = new List <ServicoTT>();

            try
            {
                Lista = ServicoTT.GetAll(orcamento);

                return(Lista);
            }
            catch (Exception ex)
            {
                Console.WriteLine(ex.Message);
                return(Lista);
            }
        }
Exemplo n.º 2
0
        public List <ServicoTT> getAllServicos(JObject orcamento)
        {
            List <ServicoTT> Lista = new List <ServicoTT>();

            try
            {
                var t = orcamento.GetValue("orcamentoidv").ToString();
                Lista = ServicoTT.GetAll(t);

                return(Lista);
            }
            catch (Exception ex)
            {
                Console.WriteLine(ex.Message);
                return(Lista);
            }
        }