title: Passing multiple parameters to a controller?
body: <p>ok.  simple one that is wrapping my brain </p>
  
  <p>I have a method that I have in the controller </p>
  
  <pre><code>public ActionResult Details(string strFirstName, string strLastName)
  {
        return View(repository.getListByFirstNameSurname(strFirstName, strLastName)
  }
  </code></pre>
  
  <p>How do i get multiple parameters from the URL to the controller?</p>
  
  <p>I dont want to use the QueryString as it seems to be non-mvc mind set.</p>
  
  <p>Is there a Route? Or Other mechanism to make this work?  Or am I missing something altogehter here with MVC</p>
  
  <p>EDIT</p>
  
  <p>the url that I am trying for is </p>
  
  <pre><code>http://site.com/search/details/FirstName and Surname
  </code></pre>
  
  <p>so if this was classic asp</p>
  
  <pre><code>http://site.com/search/details?FirstName+Surname
  </code></pre>
  
  <p>But i feel that i have missed understood something which in my haste to get to working code, I have missed the point that there really should be in a put request - and I should collect this from the formcollection.</p>
  
  <p>Though might be worth while seeing if this can be done - for future reference =></p>