public Entity Travel(SirenHttpClient client, Entity entity)
        {
            var href = entity.Entities.Single(_predicate)
                       .Links.Single(link => link.Rel.Contains("self"))
                       .Href;

            return(client.Get(href));
        }
예제 #2
0
 public Entity Travel(SirenHttpClient client, Entity entity)
 {
     return(client.Get(entity.Links.Single(_predicate).Href));
 }