我有员工班
public class Employee
{
public string Name { get; set; }
public string EmpID { get; set; }
public string Designation { get; set; }
}
Run Code Online (Sandbox Code Playgroud)
我希望TempData在View上使用相同....如果我使用@TempData["Employee"]
我得到modal.employee这是公平的..
请建议