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