예제 #1
0
 public List <Models.Product> SelectAllProducts()
 {
     return(ProductList.SelectProductLIst());
 }
예제 #2
0
 public void DeleteProduct(int id)
 {
     ProductList.DeleteProductList(id);
 }
예제 #3
0
 public void InsertProduct(Models.Product Product)
 {
     ProductList.InsertProductList(Product);
 }
예제 #4
0
 public void UpdateProduct(Models.Product Product)
 {
     ProductList.UpdateProductList(Product);
 }
예제 #5
0
 public Models.Product SelectProductById(int id)
 {
     return(ProductList.SelectProductLIst().Find(x => x.ProductItemCode == id));
 }