private static void GetNodesModel() { using (var ctx = new GenealogyContext()) nodes = ctx.Nodes .Include(n => n.Person) .OrderBy(n => n.NodeParentId) .ThenBy(n => n.Id).ToList(); }
public PeopleController(GenealogyContext context) { _context = context; }
public TreeFamiliesController(GenealogyContext context) { _context = context; }
public NodesController(GenealogyContext context) { _context = context; }