public List <Models.Product> SelectAllProducts() { return(ProductList.SelectProductLIst()); }
public void DeleteProduct(int id) { ProductList.DeleteProductList(id); }
public void InsertProduct(Models.Product Product) { ProductList.InsertProductList(Product); }
public void UpdateProduct(Models.Product Product) { ProductList.UpdateProductList(Product); }
public Models.Product SelectProductById(int id) { return(ProductList.SelectProductLIst().Find(x => x.ProductItemCode == id)); }