protected override void DisposeCore() { if (dbContext != null) { dbContext.Dispose(); } }
protected virtual void Dispose(bool disposing) { if (!this.disposed) { if (disposing) { iCafeEntitiesContext.Dispose(); } } this.disposed = true; }