Esempio n. 1
0
 public string Delete(int id)
 {
     return(order_ctr.Delete(id, "Order"));
 }
Esempio n. 2
0
        /// <summary>
        /// Deletes an order.
        /// </summary>
        /// <param name="informations"></param>
        public void DeleteOrder(List <string> informations)
        {
            int id = Int32.Parse(informations[0]);

            Console.WriteLine("Delete order: " + ctr_order.Delete(id, "Order"));
        }