Your edit action can receive the form fields as "FormCollection" and access them as follows:
[HttpPost]
public ActionResult EditEmployee(FormCollection order)
{
string FirstName = Convert.ToString(order["FirstName"]);
}
The best way is to have strongly typed model such that you have have your code as follows:
[HttpPost]
public ActionResult EditEmployee(Order order)
{
string FirstName = Order.FirstName;
}
In order to have your strongly typed object you have to change your edit action as follows:
public ActionResult EditEmployee(int id = 0)
{
return View(new List<order>(db.Employees.Where(o => o.EmployeeID == id).ToList()));
}
</order>