Signature changes of GetMenuForNode() & PerformGetMenuForNode()

This commit is contained in:
Elitsa Marinovska
2021-01-13 11:02:29 +01:00
parent 2c81d09d0e
commit 2204a57a8d
19 changed files with 56 additions and 41 deletions

View File

@@ -3,6 +3,7 @@ using System.Globalization;
using System.Linq;
using Microsoft.AspNetCore.Authorization;
using Microsoft.AspNetCore.Http;
using Microsoft.AspNetCore.Mvc;
using Umbraco.Core;
using Umbraco.Core.Models;
using Umbraco.Core.Models.Entities;
@@ -93,7 +94,7 @@ namespace Umbraco.Web.BackOffice.Trees
/// <param name="id"></param>
/// <param name="queryStrings"></param>
/// <returns></returns>
protected override MenuItemCollection GetMenuForNode(string id, FormCollection queryStrings)
protected override ActionResult<MenuItemCollection> GetMenuForNode(string id, FormCollection queryStrings)
{
var menu = _menuItemCollectionFactory.Create();