Métodos Frequentes
Métodos Frequentes
Métodos Frequentes
Métodos Frequentes
public MemberDisplay Convert(ResolutionContext context) { var source = (MembershipUser)context.SourceValue; //first convert to IMember var member = Mapper.Map <MembershipUser, IMember>(source); //then convert to MemberDisplay return(AutoMapperExtensions.MapWithUmbracoContext <IMember, MemberDisplay>(member, context.GetUmbracoContext())); }