❔ How to find the value in the tree?
I have a
DepartmentDigestDto
that looks like this:
This is one of the returned objects of the List method:
var departments = ( await _departmentClient.List().Unwrap() ).Items;
I get id from ui and I have to find the way to this id in the departments, i.e. something like this: Office/firstRoom/etc.. (where titles are Title) It seemed to me that it was possible to convert to a tree, so I did the following:
And then it's called like this:
It turns out that the key in the dictionary is the very beginning of the path, and the end is somewhere in value. Q: How do I get this way?1 Reply
Looks like nothing has happened here. I will mark this as stale and this post will be archived until there is new activity.