Example #1
0
 public IEnumerable <long> GetHierarchyIdsForUser(long?hirarquiaId = null, List <Hierarchy> hierarchyList = null)
 {
     return(_hierarchyRepository
            .GetHierarchyDown(hirarquiaId, hierarchyList)?.Select(s => s.Id));
 }