public ActionResult Edit(int id) { var model = new CreateEditViewModel(); var memberVisit = memberProvider.GetMemberVisit(id); Mapper.DynamicMap(memberVisit, model); return(PartialView("CreateEdit", model)); }
public ActionResult Edit(int id) { var model = new CreateEditViewModel(); var memberVisit = memberProvider.GetMemberVisit(id); Mapper.DynamicMap(memberVisit, model); return(PartialView("CreateEdit", model)); }