Create commonly used method for asp.net website
<p>Is it possible to create a function that can be called by multiple different pages in asp.net?</p>

<p>Say for example I have a method that takes two int parameters and adds them together and spits out the result</p>

<pre><code>public int test(int a, int b)
{
     return a+b;
}
</code></pre>

<p>If I wanted to use this function on three different pages, how would I do it?</p>

<p>notes:
using C#
.NET 4
Entity Framework</p>
