Exemplo n.º 1
0
        public ActionResult Edit(int id, Department selectedDep)
        {
            Dep  obj    = new Dep();
            bool result = obj.Update(id, selectedDep);

            return(RedirectToAction("AdminIndex"));
        }