public EditlMyProfileVM GetEditMyProfileVM(string id) { ApplicationUserIdentity user = TheUnitOfWork.User.FindByID(id); EditlMyProfileVM editlMyProfileVM = Mapper.Map <EditlMyProfileVM>(user); return(editlMyProfileVM); }
public ActionResult EditMyProfile() { string userId = User.Identity.GetUserId(); EditlMyProfileVM editlMyProfileVM = userAppService.GetEditMyProfileVM(userId); return(View(editlMyProfileVM)); }