public bool InsertOrder(OrderBLL order) { return(orderDAL.InsertOrder(order)); }
// 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); }