public ActionResult edit(int id) { EMPDATA emp = LayoutOperations.emp_edit(id); return(View(emp)); }
public ActionResult Update_Bind(int id)//always use id because it represents the primary key in that table { return(View("Index_bind", LayoutOperations.emp_edit(id))); }