Some more refactoring

This commit is contained in:
Elitsa Marinovska
2021-01-12 16:01:09 +01:00
parent b0f4f9f440
commit 5feb273c3a
3 changed files with 5 additions and 5 deletions

View File

@@ -621,7 +621,7 @@ namespace Umbraco.Web.BackOffice.Controllers
/// </summary>
[FileUploadCleanupFilter]
[ContentSaveValidation]
public async Task<ContentItemDisplay> PostSaveBlueprint([ModelBinder(typeof(BlueprintItemBinder))] ContentItemSave contentItem)
public async Task<ActionResult<ContentItemDisplay>> PostSaveBlueprint([ModelBinder(typeof(BlueprintItemBinder))] ContentItemSave contentItem)
{
var contentItemDisplay = await PostSaveInternal(
contentItem,
@@ -641,7 +641,7 @@ namespace Umbraco.Web.BackOffice.Controllers
return display;
});
return contentItemDisplay.Value;
return contentItemDisplay;
}
/// <summary>