public void Dispose() { ctx.Dispose(); ctx = null; }
public PresidentUnitOfWork() { ctx = new PresidentContext(); ctx.Configuration.LazyLoadingEnabled = true; }