title: asp mvc http get action with object as parameter
body: <p>In my controller I got action:</p>
  
  <pre><code>[HttpGet]
  public ActionResult CreateAdmin(object routeValues = null)
  {
      //some code
      return View();
  }
  </code></pre>
  
  <p>And http post:</p>
  
  <pre><code>[HttpPost]
   public ActionResult CreateAdmin(
      string email, 
      string nameF, 
      string nameL, 
      string nameM)
   {
          if (email == "" || nameF == "" || nameL == "" || nameM == "")
          {
              return RedirectToAction("CreateAdmin", new
              {
                  error = true,
                  email = email,
                  nameF = nameF,
                  nameL = nameL,
                  nameM = nameM,
              });
    }
  </code></pre>
  
  <p>variable routeValues in <code>http get Action</code> is always empty. How correctly pass object as parameter to <code>[http get] Action</code>?</p>