Table of Contents

Class RelationController

Namespace
Umbraco.Cms.Web.BackOffice.Controllers
Assembly
Umbraco.Web.BackOffice.dll
[Authorize(Policy = "SectionAccessContent")]
public class RelationController : UmbracoAuthorizedJsonController
Inheritance
RelationController
Inherited Members

Constructors

RelationController(IUmbracoMapper, IRelationService)

public RelationController(IUmbracoMapper umbracoMapper, IRelationService relationService)

Parameters

umbracoMapper IUmbracoMapper
relationService IRelationService

Methods

GetByChildId(int, string)

public IEnumerable<RelationDisplay> GetByChildId(int childId, string relationTypeAlias = "")

Parameters

childId int
relationTypeAlias string

Returns

IEnumerable<RelationDisplay>

GetById(int)

public RelationDisplay? GetById(int id)

Parameters

id int

Returns

RelationDisplay