Beispiel #1
0
        public List <Product> Addproduct(Product p)
        {
            ProjectReprository proj = new ProjectReprository();

            proj.addingProducts(p);
            return(proj.getProduct());
        }
Beispiel #2
0
        public List <Product> GetProducts()
        {
            // var b = List<Product>();
            ProjectReprository p = new ProjectReprository();

            return(p.getProduct());
        }
Beispiel #3
0
        public Product findId(int a)
        {
            ProjectReprository p = new ProjectReprository();

            return(p.findProduct(a));
        }