예제 #1
0
 public virtual Task<IDisplayResult> UpdateAsync(ContentPart part, IUpdateModel updater, UpdatePartEditorContext context)
 {
     return UpdateAsync(part, context);
 }
예제 #2
0
        Task<IDisplayResult> IContentPartDisplayDriver.UpdateEditorAsync(ContentPart contentPart, ContentTypePartDefinition typePartDefinition, UpdateEditorContext context)
        {
            var updateEditorContext = new UpdatePartEditorContext(typePartDefinition, context);

            return UpdateAsync(contentPart, context.Updater, updateEditorContext);
        }