Exemple #1
0
        public void DeleteUser(int id)
        {
            DB.User user = FindUser(id);
            if (user == null)
            {
                return;
            }

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