示例#1
0
        public void displaySitems()
        {
            ItemBO iBo = new ItemBO();

            Console.WriteLine("Enter seller id to display items of that particular seller:");
            int         n = int.Parse(Console.ReadLine());
            List <Item> l = iBo.displayItems(n);

            foreach (Item i in l)
            {
                Console.WriteLine("Item id\tItem name\tItem price");
                Console.WriteLine(i.item_id + "\t" + i.item_name + "\t" + i.price);
            }
        }
示例#2
0
 public void display_items()
 {
     iobj.displayItems();
 }