public XYZ(int EmployeeDOB) { //Creates a List based of same Date Of Birth TempData["EmployeeList"] = lstEmployee; return View(); }
public ActionResult ABC() { List<Employee> lstEmployeeDetail = TempData["EmployeeList"] as List<Employee>(); //Display the result }
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)