public ActionResult Edit(int id) { EMPDATA E = DBEmp.GetEmp(id); return(View(E)); }
//Binding to primitive type public ActionResult Update(int id) { return(View("Index", DBEmp.GetEmp(id))); }
public ActionResult Edit(int id) { EMPDATA E = DBEmp.GetEmp(id); return(View(E)); }
//Binding to primitive type public ActionResult Update(int id) { return(View("Index", DBEmp.GetEmp(id))); }