@@ -20,7 +20,7 @@ public LinkBuilder(HttpConfiguration configuration, IApiExplorer descriptionProv
2020 this . descriptionProvider = descriptionProvider ;
2121 }
2222
23- public ILink FindResourceSelfLink ( Context context , string resourceId , IResourceMapping resourceMapping )
23+ public ISimpleLink FindResourceSelfLink ( Context context , string resourceId , IResourceMapping resourceMapping )
2424 {
2525 var actions = descriptionProvider . From ( resourceMapping . Controller ) ;
2626
@@ -34,15 +34,15 @@ public ILink FindResourceSelfLink(Context context, string resourceId, IResourceM
3434 }
3535
3636 // TODO - Move into NJsonApiCore base library from here and .mVC6
37- public ILink RelationshipRelatedLink ( Context context , string resourceId , IResourceMapping resourceMapping , IRelationshipMapping linkMapping )
37+ public ISimpleLink RelationshipRelatedLink ( Context context , string resourceId , IResourceMapping resourceMapping , IRelationshipMapping linkMapping )
3838 {
3939 var selfLink = FindResourceSelfLink ( context , resourceId , resourceMapping ) . Href ;
4040 var completeLink = $ "{ selfLink } /{ linkMapping . RelationshipName } ";
4141 return new SimpleLink ( new Uri ( completeLink ) ) ;
4242 }
4343
4444 // TODO - Move into NJsonApiCore base library from here and .mVC6
45- public ILink RelationshipSelfLink ( Context context , string resourceId , IResourceMapping resourceMapping , IRelationshipMapping linkMapping )
45+ public ISimpleLink RelationshipSelfLink ( Context context , string resourceId , IResourceMapping resourceMapping , IRelationshipMapping linkMapping )
4646 {
4747 var selfLink = FindResourceSelfLink ( context , resourceId , resourceMapping ) . Href ;
4848 var completeLink = $ "{ selfLink } /relationships/{ linkMapping . RelationshipName } ";
0 commit comments