Answer the question
In order to leave comments, you need to log in
What is the best way to get all the data in a linked list?
Model:
public class Department
{
public int Id { get; set; }
public string Name { get; set; }
public int? HeadDepartmentId { get; set; }
public Department HeadDepartment { get; set; }
public List<Department> ChildDepartments { get; set; }
}
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question