private void RefaceHttpApplication_EndRequest(object sender, EventArgs e) { try { IWork work = CurrentWorkAccessor.Get(); work.PublishEvent(new EndRequestEvent(this, HttpContext.Current)); work.Dispose(); } catch (Exception) { } }