private ServerItem GetItemFromObjectId(string id, User user) { return(DidlBuilder.IsIdRoot(id) ? new ServerItem(_libraryManager.GetUserRootFolder()) : ParseItemId(id, user)); }
private ServerItem GetItemFromObjectId(string id, User user) { return(DidlBuilder.IsIdRoot(id) ? new ServerItem(user.RootFolder) : ParseItemId(id, user)); }
private BaseItem GetItemFromObjectId(string id, User user) { return(DidlBuilder.IsIdRoot(id) ? user.RootFolder : ParseItemId(id, user)); }