Exemplo n.º 1
0
        public void OnActionExecuted(ActionExecutedContext filterContext)
        {
            _subscriptions.ForEach(d => d.Dispose());

            if (filterContext.Exception != null)
            {
                _transactionContext.SetAbort();
            }

            _transactionContext.EndTransaction();
        }