Exemplo n.º 1
0
        public ActionResult DeleteWorker(int id, string table_name)
        {
            Deletes del = new Deletes();

            del.DelStr(id, table_name);
            return(RedirectToAction("AllWorkers", "Home"));
        }
Exemplo n.º 2
0
        public ActionResult DeleteCompany(int id, string table_name)
        {
            Deletes del = new Deletes();

            del.DelStr(id, table_name);
            return(RedirectToAction("Index", "Home"));
        }