public int AddOrder(string month, int s, string ename, int eid)
        {
            Order o = new Order()
            {
                Month = month, Price = s, EmployeeName = ename, EmployeeId = eid
            };

            return(oda.AddOrder(o));
        }
Exemple #2
0
 //添加订单
 public bool AddOrder(Order order)
 {
     return(orderDataAccess.AddOrder(order));
 }