Exemple #1
0
        public ActionResult DeleteWorker(int id, string table_name)
        {
            Deletes del = new Deletes();

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

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