title: Resource not found when calling ActionResult from Controller from multiple submit buttons
body: <p><a href="https://stackoverflow.com/questions/442704/how-do-you-handle-multiple-submit-buttons-in-asp-net-mvc-framework">link text</a></p>
  
  <p>I am following the answer in this link, I have done this...</p>
  
  <pre><code>&lt;% Html.BeginForm("MyAction", "MyController", FormMethod.Post); %&gt;
    &lt;input type="submit" name="submitButton" value="Send" /&gt;
    &lt;input type="submit" name="submitButton" value="Cancel" /&gt;
  &lt;% Html.EndForm(); %&gt;
  
  &lt;% Html.BeginForm("Send", "MyController", FormMethod.Post); %&gt;
    &lt;input type="submit" name="button" value="Send" /&gt;
  &lt;% Html.EndForm(); %&gt;
  
  &lt;% Html.BeginForm("Cancel", "MyController", FormMethod.Post); %&gt;
    &lt;input type="submit" name="button" value="Cancel" /&gt;
  &lt;% Html.EndForm(); %&gt;
  </code></pre>
  
  <p>With this in the controller...</p>
  
  <pre><code>public class MyController : Controller {
  public ActionResult MyAction(string submitButton) {
      switch(submitButton) {
          case "Send":
              // delegate sending to another controller action
              return(Send());
          case "Cancel":
              // call another action to perform the cancellation
              return(Cancel());
          default:
              // If they've submitted the form without a submitButton, 
              // just return the view again.
              return(View());
      }
  }
  
  private ActionResult Cancel() {
      // process the cancellation request here.
      return(View("Cancelled"));
  }
  
  private ActionResult Send() {
      // perform the actual send operation here.
      return(View("SendConfirmed"));
  }
  </code></pre>
  
  <p>}</p>
  
  <p>But I keep getting a Resource not found error - Cannot find MyController\MyAction</p>