Inject A C# Function to all of ActionResult
<p>We have a Asp.net MVC Project that it has over 1000 ActionResult and I need to add all of them a C# Function for check value of Session.
So What is your offer to do this?
These two following lines has some example of my Controller and ActionResult :</p>

<pre><code>    public partial class CRMController : Controller
    {
       public ActionResult OrganizationCategory()
       {
        //I want add a C# function here 
       }
    }
    public partial class BaseInfoController : Controller
    {
       public ActionResult Lead()
       {
         //I Want Add a C# Function here
       }
     }
</code></pre>