public EditlMyProfileVM GetEditMyProfileVM(string id)
        {
            ApplicationUserIdentity user             = TheUnitOfWork.User.FindByID(id);
            EditlMyProfileVM        editlMyProfileVM = Mapper.Map <EditlMyProfileVM>(user);

            return(editlMyProfileVM);
        }
Example #2
0
        public ActionResult EditMyProfile()
        {
            string           userId           = User.Identity.GetUserId();
            EditlMyProfileVM editlMyProfileVM = userAppService.GetEditMyProfileVM(userId);

            return(View(editlMyProfileVM));
        }