// GET: EmployeeAllocation public ActionResult EmployeeAllocation() { List <EmployeeList_get_Result> employeeList_Get_Results = new List <EmployeeList_get_Result>(); using (SecurityDBEntities entities = new SecurityDBEntities()) { employeeList_Get_Results = entities.EmployeeList_get().ToList(); } ViewBag.Employee = employeeList_Get_Results; return(View()); }