protected virtual void Dispose(bool disposing) { if (!this._disposed) { if (disposing) { _commodityService.Dispose(); _rationService.Dispose(); } } this._disposed = true; }