I\'m using ASP .Net Core. I have a DTO with 3 models of table from DB Scaffolding.
public class StudentDTO { public int StudentId { get; set; } public S