Beispiel #1
0
 public bool Delete(tblProduct product)
 {
     return(Delete(product.ID));
 }
Beispiel #2
0
 public bool Update(tblProduct product)
 {
     return(new ProductDAL().Update(product));
 }
Beispiel #3
0
        public int GetProductById(int productid)
        {
            tblProduct tp = _db.tblProducts.Where(p => p.PID == productid).FirstOrDefault();

            return(productid);
        }