Пример #1
0
        public void DeleteUser(int id)
        {
            DB.User user = FindUser(id);
            if (user == null)
            {
                return;
            }

            user.Delete(id);
        }
Пример #2
0
 public ActionResult EditProfile(int id)
 {
     DB.User user = DB.User.Get(int.Parse(UserID));
     return(View(user));
 }
Пример #3
0
 public ActionResult ProfileInfo()
 {
     DB.User user = DB.User.Get(int.Parse(UserID));
     return(View(user));
 }