public ActionResult Edit(string id) { var com = new DBComponent(); int empId = int.Parse(id); var model = com.FindEmployee(empId); return(View(model)); }
public ActionResult Edit(string id) { var com = new DBComponent(); int empId = int.Parse(id); var model = com.FindEmployee(empId); return(View(model)); }