internal void Delete(IPersistence element) { GetDbSet(element).Remove(element); SaveChanges(); }
public void Delete(IPersistence element) { context.Delete(element); }
internal void Insert(IPersistence element) { GetDbSet(element).Add(element); SaveChanges(); }
public void Insert(IPersistence element) { context.Insert(element); }