// GET: Profile public ActionResult MyProfile() { AccountsBLL oAccBLL = new AccountsBLL(); var odetails = oAccBLL.GetUserProfile(Convert.ToString(Session["UserId"])); return(View(odetails)); }
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)); }
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)); }