Exemple #1
0
        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();
        }
Exemple #2
0
 public void Insert(ITSystem systemToInsert)
 {
     this.LoadedList.Add(systemToInsert);
     this.SaveITSystemList();
 }
Exemple #3
0
 public void Delete(ITSystem systemToDelete)
 {
     this.LoadedList.Remove(systemToDelete);
     this.SaveITSystemList();
 }