Example #1
0
        public void RemoveOrder(int OrderID)
        {
            Console.WriteLine("ENTER ORDER ID TO DELETE:");
            OrderDTO order = new OrderDTO();

            order.OrderID = Convert.ToInt32(Console.ReadLine());
            Console.WriteLine($"Deleting order ID: {order.OrderID}");
            _orderDAL.DeleteOrder(order.OrderID);
        }
Example #2
0
 public void DeleteOrder(int OrderID)
 {
     _orderDAL.DeleteOrder(OrderID);
 }
Example #3
0
 public bool DeleteOrder(int orderNo)
 {
     return(_orderDal.DeleteOrder(orderNo));
 }