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
Post a Comment