public void Dispose() { var scope = PerWebRequestLifestyleModule.YieldScope(); if (scope != null) { scope.Dispose(); } }