public ActionResult Create([Bind(Include = "Username,Employee_ID,Email,Full_Name,Password,Confirm_Password,Join_Date,Position,Team,Security_Phrase,Status")] EmployeeCreateViewModel employee_view)
        {
            if (ModelState.IsValid)
            {
                Employee employee = EmployeeViewModel.CreateViewToEmployee(employee_view);
                if (db.Employees.Find(employee.Employee_ID) != null)
                {
                    ModelState.AddModelError(string.Empty, "Employee ID existed in Database");
                }

                if (db.Employees.Where(x => x.Username.Equals(employee.Username)).Count() != 0)
                {
                    ModelState.AddModelError(string.Empty, "Username existed");
                }
                else
                {
                    employee.Password = Hashing.HashPassword(employee.Password);
                    db.Employees.Add(employee);
                    db.SaveChanges();
                    return(RedirectToAction("Index"));
                }
            }

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