Пример #1
0
        public ActionResult Delete(int ID)
        {
            UserType ObjUser = new UserType();
            int      d       = ObjUser.Dell(ID);

            if (d > 0)
            {
                return(RedirectToAction("Index"));
            }
            return(RedirectToAction("Index"));
        }