Ejemplo n.º 1
0
 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);
     }
 }