private void DiposeObjects() { if (_transaction != null) { _transaction.Dispose(); } if (_taskManagerRepository != null) { _taskManagerRepository.Dispose(); } }