public override void AddHypermediaLinks(HypermediaBuilder builder) { Add(builder.FormConfiguration("modeltest", new { Id = 1 }).Build().AddSelfRel()); }
public override void AddHypermediaLinks(HypermediaBuilder builder) { Add(builder.FromController <FakeController>(c => nameof(c.GetCollectionModel), values: new { id = Id, name = Name }).Build().AddSelfRel()); Add(builder.FormConfiguration("modeltest", new { id = 1 }).Build().AddRel("modeltest")); }