c# - How to get passed seconds between actionfilters? -


let's have 2 actions , 2 action filters this

[filter1] public actionresult index()  [filter2] [httppost] public actionresult index(user user) 

here filter classes

public class filter1:actionfilterattribute{ public override void onresultexecuted(resultexecutedcontext filtercontext)}  public class filter2:actionfilterattribute{ public override void onactionexecuting(actionexecutingcontext filtercontext)} 

question is: how can passed seconds filter1 till filter2?


Comments

Popular posts from this blog

c++ - Difference between pre and post decrement in recursive function argument -

php - Nothing but 'run(); ' when browsing to my local project, how do I fix this? -

php - How can I echo out this array? -