25 lines
676 B
C#
25 lines
676 B
C#
using Umbraco.Web.Models.Trees;
|
|
using Microsoft.AspNetCore.Http;
|
|
using Microsoft.AspNetCore.Mvc;
|
|
using Umbraco.Web.Common.ModelBinders;
|
|
|
|
namespace Umbraco.Web.Trees
|
|
{
|
|
/// <summary>
|
|
/// Represents an TreeNodeController
|
|
/// </summary>
|
|
public interface ITreeNodeController
|
|
{
|
|
/// <summary>
|
|
/// Gets an individual tree node
|
|
/// </summary>
|
|
/// <param name="id"></param>
|
|
/// <param name="queryStrings"></param>
|
|
/// <returns></returns>
|
|
ActionResult<TreeNode> GetTreeNode(
|
|
string id,
|
|
[ModelBinder(typeof(HttpQueryStringModelBinder))] FormCollection queryStrings
|
|
);
|
|
}
|
|
}
|