public ActionResult Details(int id)
{
EmployeeContext employeeContext = new EmployeeContext();
Employee employee = (Employee)(from emp in employeeContext.Members where emp.EmployeeId == id select emp).FirstOrDefault()
return View(employee);
}
Hope this will definitely of help.