public ActionResult Edit(string id)
        {
            int employee_id;

            try {
                employee_id = int.Parse(id);
            } catch (Exception) {
                return(View("Error"));
            }
            if (id == null)
            {
                return(new HttpStatusCodeResult(HttpStatusCode.BadRequest));
            }

            Employee employee = db.Employees.Find(employee_id);

            if (employee == null)
            {
                return(HttpNotFound());
            }
            EmployeeEditViewModel employee_edit_view = EmployeeViewModel.EmployeeToEditView(employee);

            ViewBag.Position = new SelectList(db.Positions, "Position_ID", "Name", employee.Position);
            ViewBag.Status   = new SelectList(db.Status, "Status_ID", "Name", employee.Status);
            ViewBag.Team     = new SelectList(db.Teams, "Team_ID", "Name", employee.Team);
            return(View(employee_edit_view));
        }