// GET: Employee/Create
        public ActionResult Create()
        {
            EmployeeView model = new EmployeeView
            {
                Employee    = new Employee(),
                Departments = hrRepository.GetAllDepartments().ToList()
            };

            return(View(model));
        }
        // GET: Department
        public ActionResult Index()
        {
            List <Department> departments = hrRepository.GetAllDepartments().ToList();

            return(View(departments));
        }