I need to run some code after action executed using ActionFilter based on a property in the action Model, How to get a value of the property inside OnActionExecuted?
Model
public class Profile
{
public Guid Id { get; set; }
public string Name { get; set; }
}
Action
public BotProfileDTO Update(Profile profile)
{
}
Action Filter
public override void OnActionExecuted(ActionExecutedContext context)
{
//How to get profile Id here
}