public void CreateGroup(string name, string title, string subtitle, string imagePath, string description)
 {
     if (ContainsGroup(name)) return;
     SampleDataGroup group = new SampleDataGroup(name, title, subtitle, imagePath, description);
     groupsCore.Add(group);
 }
 public bool AddItem(SampleDataItem tile)
 {
     if (tile == null) return false;
     string groupName = tile.GroupName == null ? "" : tile.GroupName;
     SampleDataGroup thisGroup = GetGroup(groupName);
     if (thisGroup == null)
     {
         thisGroup = new SampleDataGroup(groupName);
         groupsCore.Add(thisGroup);
     }
     return thisGroup.AddItem(tile);
 }