public static List <Pedido> buscarPedidos()
 {
     try
     {
         return(PedidoDAO.GetAll());
     }
     catch (ApplicationException ex)
     {
         throw new ApplicationException(ex.Message);
     }
 }
Esempio n. 2
0
        public DataTable GetAll()
        {
            var pedidoDAO = new PedidoDAO();

            return(pedidoDAO.GetAll());
        }