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
umbracoMapperIUmbracoMapperrelationServiceIRelationService
Methods
GetByChildId(int, string)
public IEnumerable<RelationDisplay> GetByChildId(int childId, string relationTypeAlias = "")
Parameters
Returns
- IEnumerable<RelationDisplay>
GetById(int)
public RelationDisplay? GetById(int id)
Parameters
idint
Returns
- RelationDisplay