示例#1
0
        public AddToOrderDTO AddPosition(AddToOrderDTO addtoorder)
        {
            Console.WriteLine("ENTER ORDER ID, ITEM ID, AMOUNT TO ADD TO ORDER");

            addtoorder = new AddToOrderDTO
            {
                OrderIDKEY = Convert.ToInt32(Console.ReadLine()),
                ItemIDKEY  = Convert.ToInt32(Console.ReadLine()),
                Amount     = Convert.ToInt32(Console.ReadLine())
            };



            return(_addtoorderDAL.CreateAddToOrder(addtoorder));
        }
示例#2
0
 public AddToOrderDTO AddPosition(AddToOrderDTO addtoorder)
 {
     return(_addtoorderDAL.CreateAddToOrder(addtoorder));
 }