protected virtual void Dispose(bool disposing) { if (!_disposed && disposing) { _unitOfWork.Dispose(); } _disposed = true; }