Pass Dictionary<string,string> from POST to GET method (as url parameters) ASP.NET MVC
<p>I have a problem. I'd like to pass a dictionary via RedirectToAction via RouteValueDictionary. Is there a possibility to do this?</p>

<p>I have a POST method:</p>

<pre><code>[HttpPost]
public ActionResult Search(MyViewModel _myViewModel)
{
    IDictionary&lt;string, string&gt; parameters = new Dictionary&lt;string, string&gt;();

    foreach (var item in _myViewModel)
    {
        parameters.Add(item.ValueId, item.ValueName);   
    }

    return RedirectToAction("Search", new RouteValueDictionary(parameters));
}
</code></pre>

<p>I'd like to have an url like this:</p>

<blockquote>
  <p><a href="http://localhost:26755/Searcher/Search?id1=value1&amp;id2=value2&amp;id3=value3" rel="nofollow">http://localhost:26755/Searcher/Search?id1=value1&amp;id2=value2&amp;id3=value3</a></p>
</blockquote>

<p>How the GET method should look like?</p>

<pre><code>[HttpGet]
public ActionResult Search( **what's here?** )
{
    (...)
    return View(myViewModel);
}
</code></pre>