Example #1
0
 public static List<FamilyGroup> CreateFamilyGroups()
 {
     var result = new List<FamilyGroup>();
     for (int i = 1; i < 10; i++)
     {
         var familyGroup = new FamilyGroup { Id = i, Name = "Family " + i };
         result.Add(familyGroup);
     }
     return result;
 }
Example #2
0
        public static List <FamilyGroup> CreateFamilyGroups()
        {
            var result = new List <FamilyGroup>();

            for (int i = 1; i < 10; i++)
            {
                var familyGroup = new FamilyGroup {
                    Id = i, Name = "Family " + i
                };
                result.Add(familyGroup);
            }
            return(result);
        }