Example #1
0
        protected override void Dispose(bool disposing)
        {
            _accService.Dispose();
            _debtService.Dispose();
            _createCloseDebtService.Dispose();

            base.Dispose(disposing);
        }
        protected void Dispose(bool disposing)
        {
            if (!_disposed)
            {
                if (disposing)
                {
                    _categoryRepository.Dispose();
                    _createCloseDebtService.Dispose();
                    _debtRepository.Dispose();
                    _payingItemRepository.Dispose();
                }

                _disposed = true;
            }
        }