title: how to Call controller when click the button?
body: <p>I want to call a controller when click the button in view.How can I do it in MVC?.</p>
  
  <p>This is my first controller.</p>
  
  <pre><code>public ActionResult DetailForm()
  {
      graduandModel model = new graduandModel();
  
      var ceremonyList = _ceremonyService.GetAllCeremonyByDate(DateTime.Now);
  
      if (ceremonyList.Count == 0)
      {
          return Content("No ceremony can be loaded");
      }
      else
      {
          foreach (var c in ceremonyList)
          {
              model.AvailableCeremony.Add(new SelectListItem() { 
                  Text = "Ceremony at " + c.ceremony_date.ToString(), 
                  Value = c.ceremony_id.ToString() });
          }
          return View(model);
      }               
  }
  </code></pre>
  
  <p>This is my view.</p>
  
  <pre><code>@{
      Layout = "~/Views/Shared/_ColumnsThree.cshtml";
  }
  
  @model graduandModel
  @using Nop.Web.Models.Hire;
  @using Nop.Web.Framework;
  @using Telerik.Web.Mvc.UI;
  @using System.Linq;
  
  &lt;table&gt;
      &lt;tr&gt;
          &lt;td&gt;
              @Html.LabelFor(model =&gt; model.ceremony_id)
          &lt;/td&gt;
          &lt;td&gt;
              @Html.DropDownListFor(model =&gt; model.ceremony_id, Model.AvailableCeremony)
          &lt;/td&gt;
      &lt;/tr&gt;
      &lt;tr&gt;
          &lt;td&gt;
              @Html.LabelFor(model =&gt; model.first_name):
          &lt;/td&gt;
          &lt;td&gt;
              @Html.EditorFor(model =&gt; model.first_name)       
          &lt;/td&gt;
      &lt;/tr&gt;  
      &lt;tr&gt;
          &lt;td&gt;
              @Html.LabelFor(model =&gt; model.middle_name):
          &lt;/td&gt;
          &lt;td&gt;
              @Html.EditorFor(model =&gt; model.middle_name)
          &lt;/td&gt; 
      &lt;/tr&gt;
      &lt;tr&gt;
          &lt;td&gt;
              @Html.LabelFor(model =&gt; model.last_name):
          &lt;/td&gt;
          &lt;td &gt;
              @Html.EditorFor(model =&gt; model.last_name)
          &lt;/td&gt;
      &lt;/tr&gt;
      &lt;tr&gt;
          &lt;td&gt;
              @Html.LabelFor(model =&gt; model.student_id):
          &lt;/td&gt;
          &lt;td&gt;
              @Html.EditorFor(model =&gt; model.student_id)  
          &lt;/td&gt;
      &lt;/tr&gt;    
      &lt;tr&gt;
          &lt;td colspan="2" class="buttons"&gt;
              &lt;input type="submit" id="btnsearchgraduand" name="btnsearch" 
                  class="searchbutton" value="@T("Search")" /&gt;
          &lt;/td&gt;
      &lt;/tr&gt;
  &lt;/table&gt;
  </code></pre>
  
  <p>Then When I click the search button I want to check the input data.
  Should I write new controller like this</p>
  
  <pre><code>public ActionResult CheckDegreeDetails()
  {
      graduandModel model = new graduandModel();
  
      var degreeList = _graduandService.GetGraduandByStudent(
          model.ceremony_id, model.first_name, 
          model.middle_name, model.last_name);
      return View(model);
  }
  </code></pre>
  
  <p>Or...</p>
  
  <p>I don't know how to call controller when click the button...</p>