//
        // GET: /Department/
        public ActionResult Index()
        {
            EmployeeContext employeeContext = new EmployeeContext();
            List<Department> departments = employeeContext.Departments.ToList();

            return View(departments);
        }
        //
        // GET: /Employee/
        public ActionResult Details(int id)
        {
            EmployeeContext employeeContext = new EmployeeContext();

            Employee employee = employeeContext.Employees.Single(emp => emp.EmployeeId == id);

            return View(employee);
        }
        //
        // GET: /Employee/
        public ActionResult Index()
        {
            EmployeeContext employeeContext = new EmployeeContext();

            //var employees = employeeContext.Employees.ToList()
            List<Employee> employees = employeeContext.Employees.ToList();

            return View(employees);
        }