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