title: Passing model through a page to another page
body: <p>We have a job application that uses a two step process.  I need to tweak this slightly.  The easiest way I can see doing this is removing the application creation stage from step one, and just passing it to step two which is a separate view.</p>
  
  <p><strong>Page 1 - Step 1</strong></p>
  
  <pre><code>public ActionResult Apply(JobApplicant jobapp, string HiddenJobId)
          {
              jobapp.JobID = Convert.ToInt32(HiddenJobId);
              //JobsHelper.CreateJobApplicant(jobapp);
  
              return View("ApplyResume", jobapp); 
          }
  </code></pre>
  
  <p>The above code used to <code>CreateJopApplication()</code>.  I commented this out and am now passing this to the next step/page.</p>
  
  <p>However once on this new page I then have an <code>[HttpPost]</code> that takes that <code>jobapp</code> but at this point it is all null.</p>
  
  <p>The jobapp(JobApplication) is about 140 columns, I'd hate to have to create a hidden text field for all of that.  Is there an easier way to pass a model across two pages?</p>
  
  <p><strong>Step 2 - Page 2</strong></p>
  
  <pre><code>[HttpPost]
          public ActionResult Upload(HttpPostedFileBase file, string applicantId, string coverLetter, JobApplicant jobapp)
          {
              // jobapp is null during this entire step, passed in null its as if the page before never had it.
              JobsHelper.CreateJobApplicant(jobapp);
              .......
  </code></pre>