Пример #1
0
        public override void OnActionExecuted(ActionExecutedContext filterContext)
        {
            var    user    = userService.GetUserFromRequest(filterContext.HttpContext.Request);
            string message = String.Format("{0} {1} | {2}", user.Name, user.Surname, filterContext.ActionDescriptor.DisplayName);

            logService.AddLogMessage(message);
        }