Example #1
0
        public void Display_seller_items()
        {
            ProductBo ibo = new ProductBo();

            Console.WriteLine("Enter seller id");
            int            ch = int.Parse(Console.ReadLine());
            List <Product> lp = ibo.display(ch);

            foreach (Product p in lp)
            {
                Console.WriteLine("Item Id \t Item Name \t Price");
                Console.WriteLine(p.i_id + " \t" + p.i_name + " \t" + p.price);
            }
        }
Example #2
0
 public void Display()
 {
     pbo.display();
 }