It is easy to get argument in
OnActionExecuting(ActionExecutingContext context)
context.ActionArguments
But how to do it in
public override void OnActionExecuted(ActionExecutedContext context)
Thanks!
There is no property ActionArguments in ActionExecutedContext
You can store the action arguments from
HttpContext.Itemsand then get it inOnActionExecuted:Note: since
HttpContext.Itemspersists for the entirety of the request, ensure that you use unique keys to store your data to avoid any conflicts.