Esempio n. 1
0
        // GET: Profile
        public ActionResult MyProfile()
        {
            AccountsBLL oAccBLL  = new AccountsBLL();
            var         odetails = oAccBLL.GetUserProfile(Convert.ToString(Session["UserId"]));

            return(View(odetails));
        }
Esempio n. 2
0
        public ActionResult ChangePassword()
        {
            ProfileSecurity osec     = new ProfileSecurity();
            AccountsBLL     oAccBLL  = new AccountsBLL();
            var             odetails = oAccBLL.GetUserProfile(Convert.ToString(Session["UserId"]));

            osec.Profile_Pic = odetails.Media_Id_Img;
            return(View(osec));
        }
Esempio n. 3
0
        public ActionResult EditProfile()
        {
            AccountsBLL   oAccBLL  = new AccountsBLL();
            MemberProfile oprofile = new MemberProfile();
            var           odetails = oAccBLL.GetUserProfile(Convert.ToString(Session["UserId"]));

            oprofile.EditProfile   = odetails;
            oprofile.IsMarriedList = Global.getismarried();
            oprofile.Gender        = Global.getGender();
            return(View(oprofile));
        }