-
Notifications
You must be signed in to change notification settings - Fork 45
Open
Description
I'm building an API with ASP.NET Core 3.1, with an example model like this:
public class Article
{
public string Id { get; set; }
public string Title { get; set; }
public List<Comment> Comments { get; set; }
}
public class Comment
{
public string Id { get; set; }
public string Body { get; set; }
}
The controller contains something like this:
var articles = await articleService.GetAsync(); // Get All Articles
return Json(articles, new JsonApiSerializerSettings());
How do I get the response from the controller to have Links?
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels