public void DeleteIconsGroup(IconsGroup iconsGroup) { if (iconsGroup == null) { throw new ArgumentNullException(nameof(iconsGroup)); } _context.IconsGroup.Remove(iconsGroup); }
public void CreateIconsGroup(IconsGroup iconsGroup) { if (iconsGroup == null) { throw new ArgumentNullException(nameof(iconsGroup)); } _context.IconsGroup.Add(iconsGroup); }
public WorkSpace() { Undo = new UndoData(); Curent = new CurElement(); Add(new SmartFiled("Раздел1")); Add(new SmartFiled("Раздел2")); Add(new SmartFiled("Раздел3")); ActiveField = this[0]; iconGroupGroup = IconRepo.CoreGroup; }
public void UpdateIconsGroup(IconsGroup iconsGroup) { }