View Source
Class RelationController
Inheritance
System.Object
Assembly: Umbraco.Web.dll
Syntax
[PluginController("UmbracoApi")]
public class RelationController : UmbracoAuthorizedJsonController, IDiscoverable
Methods
View Source
DeleteById(Int32)
Declaration
public HttpResponseMessage DeleteById(int id)
Parameters
Type |
Name |
Description |
System.Int32 |
id |
|
Returns
Type |
Description |
HttpResponseMessage |
|
View Source
GetByChildId(Int32, String)
Declaration
public IEnumerable<RelationDisplay> GetByChildId(int childId, string relationTypeAlias = "")
Parameters
Type |
Name |
Description |
System.Int32 |
childId |
|
System.String |
relationTypeAlias |
|
Returns
View Source
GetById(Int32)
Declaration
public RelationDisplay GetById(int id)
Parameters
Type |
Name |
Description |
System.Int32 |
id |
|
Returns