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