public ActionResult Edit([Bind(Include = "Id,Name,Designation,Salary")] Employee employee)
 {
     if (ModelState.IsValid)
     {
         db.Entry(employee).State = EntityState.Modified;
         db.SaveChanges();
         return(RedirectToAction("Index"));
     }
     return(View(employee));
 }
 public ActionResult Edit([Bind(Include = "emp_Id,emp_login,emp_Password,emp_CreateDate,emp_lastLogin,emp_IsRemove,emp_FirstName,emp_MiddleName,emp_LastName,emp_CityName,emp_CountryName,emp_ResidentialAddress,emp_ResidentialPostCode,emp_IsAdmin")] EmployeeDatabase employeeDatabase)
 {
     if (ModelState.IsValid)
     {
         db.Entry(employeeDatabase).State = EntityState.Modified;
         db.SaveChanges();
         return(RedirectToAction("Index"));
     }
     return(View(employeeDatabase));
 }