diff --git a/src/Umbraco.Core/Services/IRelationService.cs b/src/Umbraco.Core/Services/IRelationService.cs index 68a53d1b7f..9dcc6df615 100644 --- a/src/Umbraco.Core/Services/IRelationService.cs +++ b/src/Umbraco.Core/Services/IRelationService.cs @@ -237,6 +237,15 @@ namespace Umbraco.Core.Services /// Returns True if any relations exist between the entities, otherwise False bool AreRelated(IUmbracoEntity parent, IUmbracoEntity child, string relationTypeAlias); + /// + /// Checks whether two items are related + /// + /// Id of the Parent relation + /// Id of the Child relation + /// Alias of the type of relation to create + /// Returns True if any relations exist between the entities, otherwise False + bool AreRelated(int parentId, int childId, string relationTypeAlias); + /// /// Saves a ///