title: ASP.NET RedirectToAction with parameters not getting passed
body: <p>I am trying to do a RedirectToAction with parameters like so:</p>
  
  <pre><code>return RedirectToAction("Index", "CPLCReservation", new { data = cp_sales_app_lc });
  </code></pre>
  
  <p>I am trying to pass the data to the CPLCReservation Controller's Index Method.</p>
  
  <p>When I put a break point at the RedirectToAction, I can see cp_sales_app_lc is populated, when I goto the Index method of CPLCReservation Controller:</p>
  
  <pre><code>public ActionResult Index(CP_Sales_App_LC data)
          {
              return View(data);
          }
  </code></pre>
  
  <p>data is null. Am I passing the data wrong?</p>
  
  <p>cp_sales_app_lc is class variable of CP_Sales_App_LC and its defined like so:</p>
  
  <pre><code>CP_Sales_App_LC cp_sales_app_lc = new CP_Sales_App_LC();
  </code></pre>
  
  <p>I hope all this makes sense.</p>