public ActionResult Delete(int id, string tableName) { var message = _employeeDb.Delete(id, tableName); return(RedirectToAction("Index", "Home", new { message = message })); }
public ActionResult Delete(int id, string tableName) { var message = _employeeDb.Delete(id, tableName); return(RedirectToAction("Index", "Home", new { message = message })); }