public ActionResult Edit(int id, EmpTB objemps) { try { wc.EditEmployee(id, objemps); return(RedirectToAction("Index")); } catch { return(View()); } }
public ActionResult Edit(int id, EmpTB objemps) { try { wc.EditEmployee(id, objemps); return(RedirectToAction("Index")); } catch { return(View()); } }