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); }
public void DeleteOrder(int OrderID) { _orderDAL.DeleteOrder(OrderID); }
public bool DeleteOrder(int orderNo) { return(_orderDal.DeleteOrder(orderNo)); }