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)); }
//添加订单 public bool AddOrder(Order order) { return(orderDataAccess.AddOrder(order)); }