public void Delete(string id)
        {
            Project p = db.Project.Find(id);

            db.Remove(p);
            db.SaveChanges();
        }
Beispiel #2
0
 public void Delete(int id)
 {
     Product16 p = db.Product16.Find(id);
     db.Remove(p);
     db.SaveChanges();
 }