Method GetTreeLevelAsync<T>(IRedbObject, ITreeProvider)
OPTIMIZED version: Gets object level in tree (root = 0)
Uses cycle protection and more efficient approach
public static Task<int> GetTreeLevelAsync<T>(this IRedbObject obj, ITreeProvider treeProvider) where T : class, new()