public static void UpdateGrid(GridDataItem item)
 {
     GridData.First(i => i.ID == item.ID).TagIDs = item.TagIDs;
 }
 public static void DeleteGrid(GridDataItem item)
 {
     GridData.Remove(GridData.First(i => i.ID == item.ID));
 }
 public static void InsertGrid(GridDataItem item)
 {
     item.ID = GridData.Max(i => i.ID);
     item.ID++;
     GridData.Add(item);
 }