Example #1
0
        public ActionResult ShowProfile()
        {
            userID = GetUser();
            int       id    = UsersProfile.findProfile(userID);
            M_Profile model = new M_Profile();

            if (id != 0)
            {
                model = M_Profile.ViewProfile(id);
            }
            return(View(model));
        }