public void UpdateItem(ItemBase item) { ObjectPersistence persistence = new ObjectPersistence(DbAccess); persistence.Modify(item); }
public void AddItem(ItemBase item) { ObjectPersistence persistence = new ObjectPersistence(DbAccess); persistence.Add(item); }