コード例 #1
0
        public ActionResult Edit(int id)
        {
            var model       = new CreateEditViewModel();
            var memberState = memberProvider.GetMemberState(id);

            Mapper.DynamicMap(memberState, model);
            model.Description = Server.HtmlDecode(model.Description);
            return(PartialView("CreateEdit", model));
        }