public void End(object response) { try { if (this.IsTransactional) { this.CompleteTransaction(response); } } finally { this.UnitOfWork.Dispose(); this.UnitOfWork = null; } }