public virtual void Dispose(bool disposing) { if (!this.disposed) { if (disposing) { identityUnitOfWork.Dispose(); } this.disposed = true; } }
public virtual void Dispose(bool disposing) { if (!this.disposed) { if (disposing) { domainUnitOfWork.Dispose(); employeeUnitOfWork.Dispose(); identityUnitOfWork.Dispose(); } this.disposed = true; } }
public void Dispose() { _unitOfWork.Dispose(); }