Пример #1
0
        public ActionResult Deleteuser(int id)
        {
            UserDataStore Obj = new UserDataStore();

            if (Obj.DeleteUser(id) == true)
            {
                return(RedirectToAction("ShowUserList"));
            }
            else
            {
                return(View("ErrorEventArgs"));
            }
        }