public ActionResult EditMemberNotes(int memberNoteId) { var model = new MemberNoteViewModel(); var memberNote = memberProvider.GetMemberNote(memberNoteId); Mapper.DynamicMap(memberNote, model); return(PartialView("NotesCreateEdit", model)); }