public override void OnResultExecuted(ResultExecutedContext filterContext)
        {
            RequestStatus.AddTimeSpanHolder("ResultTime", _totalResultTimeMeasurer.Stop().TimeSpan);
            if (filterContext.Exception == null)
            {
                // var timeMeasurer = new TimeMeasurer().Start();
                // Store the UnitOfWork.
                // RequestStatus.AddTimeSpanHolder("UnitOfWork.Store()", timeMeasurer.Stop().TimeSpan);

                //using (var session = CommandDocumentSessionHolder.DocumentSession)
                //{
                //    var timeMeasurer = new TimeMeasurer().Start();
                //    session.SaveChanges();
                //    RequestStatus.AddTimeSpanHolder("DocumentSession.SaveChanges()", timeMeasurer.Stop().TimeSpan);
                //}
            }
            RequestStatus.AddTimeSpanHolder("RequestTime", _totalRequestTimeMeasurer.Stop().TimeSpan);
            StoreRequestStatus(RequestStatus);
        }
 public override void OnActionExecuted(ActionExecutedContext filterContext)
 {
     RequestStatus.AddTimeSpanHolder("ActionTime", _totalActionTimeMeasurer.Stop().TimeSpan);
 }