public void Delete(int id)
        {
            Product item = _db.Products.Find(id);

            _db.Remove(item);
        }
Exemple #2
0
        public void Delete(int id)
        {
            Customer item = _db.Customers.Find(id);

            _db.Remove(item);
        }