public List <long> GetIdFathers() { if (Father == null) { return(new List <long>()); } else { List <long> items = new List <long>() { Father.Id }; items.AddRange(Father.GetIdFathers()); return(items); } }
public List <long> GetIdFathers() { if (Father == null) { return(new List <long>()); } else { List <long> items = new List <long>() { Father.Id }; items.AddRange(Father.GetIdFathers()); return(items); } }