public ActionResult Delete(string id)
 {
     SqlHelper hp = new SqlHelper();
     hp.execsql("delete from dep where id=" + id);
     return RedirectToAction("Department", "Admin", null);
 }
        public ActionResult Edit(department model)
        {
            SqlHelper hp = new SqlHelper();
            hp.execsql("update dep set cname='" + model.departmentName + "' where id=" + model.id);
            //return View(model);

            return RedirectToAction("Department", "Admin", null);
        }