Esempio n. 1
0
        public ActionResult Profile()
        {
            BGBC.Model.User user        = _userRepository.Get(((BGBC.Core.CustomPrincipal)(User)).UserId);
            UserProfile     userProfile = new TenantProfile {
                FirstName = user.FirstName, LastName = user.LastName, Email = user.Email, ConfirmEmail = user.Email, Createdon = user.Createdon, Updatedon = user.Updatedon
            };

            return(View(userProfile));
        }
Esempio n. 2
0
        public ActionResult Profile()
        {
            PopulateDropDown();
            BGBC.Model.User user        = _userRepository.Get(((BGBC.Core.CustomPrincipal)(User)).UserId);
            Profile         profile     = _profileRepo.Get(((BGBC.Core.CustomPrincipal)(User)).UserId);
            UserProfile     userProfile = new UserProfile {
                FirstName = user.FirstName, LastName = user.LastName, Email = user.Email, ConfirmEmail = user.Email, Createdon = user.Createdon, Updatedon = user.Updatedon, AltEmail = profile.AltEmail, ProfileInfo = profile
            };

            return(View(userProfile));
        }
Esempio n. 3
0
        public ActionResult Index()
        {
            BGBC.Model.User user = _userRepository.Get(((BGBC.Core.CustomPrincipal)(User)).UserId);

            return(View(user));
        }