예제 #1
0
        // GET: UserProfileController/Edit/5
        public ActionResult Edit(int id)
        {
            var vm = new UPEditViewModel();

            vm.UserProfile = _UserProfileRepository.GetUserById(id);
            vm.UserTypes   = _UserTypeRepository.GetAllUserTypes();


            return(View(vm));
        }