Exemple #1
0
        public List <ORDER> GetAllOrdersForCustomer(int customerId)
        {
            List <ORDER> lista = DB.selectOrdersC(Convert.ToInt16(customerId));

            return(lista);
        }
Exemple #2
0
        public List <CUSTOMER> GetAllCustomer()
        {
            List <CUSTOMER> lista = DB.selectAllCustomers();

            return(lista);
        }