public ActionResult Delete(int?id)
        {
            clsUserReg clsUser3 = new clsUserReg();

            clsUser3.DeleteUser(id);
            List <clsUserReg> lst = clsUser3.GetUsers();

            return(View("GetAllUser", lst));
        }
Пример #2
0
 public ActionResult DeleteConfirmed(int?id)
 {
     clsUser.DeleteUser(id);
     return(RedirectToAction("GetAllUser"));
 }