コード例 #1
0
 public bool InsertOrder(OrderBLL order)
 {
     return(orderDAL.InsertOrder(order));
 }
コード例 #2
0
ファイル: OrderDAL.cs プロジェクト: dhali161/ShoppingWebSite
        // this will be used to add items to cart
        public bool InsertOrder(OrderBLL order)
        {
            int result = adpOrder.Insert(order.ItemId, order.ItemId, order.shippedAddr, order.Price, order.Shipped);

            return(result == 1);
        }