Closed snippetkid closed 5 years ago
While trying to call linksService.AddLinksAsync(result) I am getting NullReferenceException.
linksService.AddLinksAsync(result)
at RiskFirst.Hateoas.DefaultRouteMap.GetCurrentRoute() at RiskFirst.Hateoas.DefaultLinksService.d__8`1.MoveNext()
Is there a documentation where it shows an example of using page links?
Almost all of the samples in https://github.com/riskfirst/riskfirst.hateoas/tree/master/Samples show using AddLinksAsync. If you can share more of your project I can take a look at your issue.
AddLinksAsync
While trying to call
linksService.AddLinksAsync(result)
I am getting NullReferenceException.at RiskFirst.Hateoas.DefaultRouteMap.GetCurrentRoute() at RiskFirst.Hateoas.DefaultLinksService.d__8`1.MoveNext()
Is there a documentation where it shows an example of using page links?