public void Update(ITSystem systemToSave) { var index = this.LoadedList.FindIndex(x => x.Guid == systemToSave.Guid); this.LoadedList.RemoveAt(index); this.LoadedList.Insert(index, systemToSave); this.SaveITSystemList(); }
public void Insert(ITSystem systemToInsert) { this.LoadedList.Add(systemToInsert); this.SaveITSystemList(); }
public void Delete(ITSystem systemToDelete) { this.LoadedList.Remove(systemToDelete); this.SaveITSystemList(); }