How can I get object from tempdata in MVC 4
<p>I have employee class </p>

<pre><code>public class Employee
{
    public string Name { get; set; }
    public string EmpID { get; set; }
    public string Designation { get; set; }
}
</code></pre>

<p>I want the same using <code>TempData</code> on View....
if I use <code>@TempData["Employee"]</code></p>

<p>I am getting modal.employee which is fair enough..</p>

<p>please suggest</p>