public List <Productinfo> Productfill()
        {
            Productinfo objProductInfo1 = new Productinfo()
            {
                GroupID     = Searchgroupid.Searchid("Dairy"),
                ID          = 1,
                Name        = "Go-Cheese",
                Description = "Go-Cheese-180g",
                Rate        = 115
            };
            Productinfo objProductInfo2 = new Productinfo()
            {
                GroupID     = Searchgroupid.Searchid("Dairy"),
                ID          = 2,
                Name        = "Amul-Cheese",
                Description = "Amul-Cheese-210g",
                Rate        = 125
            };
            Productinfo objProductInfo3 = new Productinfo()
            {
                GroupID     = Searchgroupid.Searchid("Dairy"),
                ID          = 3,
                Name        = "Britania-Cheese",
                Description = "Britania-Cheese-200g",
                Rate        = 100
            };
            Productinfo objProductInfo4 = new Productinfo()
            {
                GroupID     = Searchgroupid.Searchid("Chocolate"),
                ID          = 4,
                Name        = "Arindam-Chocolate",
                Description = "Arindam-Chocolate-250g",
                Rate        = 250
            };
            Productinfo objProductInfo5 = new Productinfo()
            {
                GroupID     = Searchgroupid.Searchid("Chocolate"),
                ID          = 5,
                Name        = "Shashank-Chocolate",
                Description = "Shashank-Chocolate-500g",
                Rate        = 300
            };
            List <Productinfo> ProductInfolist = new List <Productinfo>();

            ProductInfolist.Add(objProductInfo1);
            ProductInfolist.Add(objProductInfo2);
            ProductInfolist.Add(objProductInfo3);
            ProductInfolist.Add(objProductInfo4);
            ProductInfolist.Add(objProductInfo5);

            return(ProductInfolist);
        }
 public List <Productinfo> AddProduct(List <Productinfo> productinfo, Productinfo product_to_be_added)
 {
     productinfo.Add(product_to_be_added);
     return(productinfo);
 }