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

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

            return(p.getProduct());
        }