title: How to submit a selected option value to a function in controller and don't leave the view c#?
body: <p>I have a method in controller
  Eg: protected void Action(string a, string b){}
  And in View i have a form to select option
  When I click submit, Action() will call and parameters form this form.</p>
  <pre><code> &lt;form&gt;
  &lt;select id=&quot;oto1&quot;  class=&quot;form-control&quot; &gt;
  &lt;option value=&quot;&quot; selected&gt;An&lt;/option&gt;
  &lt;option value=&quot;MY&quot;&gt;Ben&lt;/option&gt;
  &lt;/select&gt;
  &lt;select id=&quot;oto2&quot;  class=&quot;form-control&quot; &gt;
  &lt;option value=&quot;&quot; selected&gt;Cylny&lt;/option&gt;
  &lt;option value=&quot;de&quot;&gt;Denny&lt;/option&gt;
  &lt;/select&gt;
  &lt;input type =&quot;submit&quot; value=&quot;Submit&quot;/&gt;
  &lt;/form&gt;
  </code></pre>