Beispiel #1
0
 public void UpdateInstanceAppState(ModernCSApp.Services.AppDatabase.AppSystemDataEnums appSystemData, string value)
 {
     var found = RetrieveInstanceAppState(appSystemData);
     
     if(found!=null){
         found.Value = value;
         this.SqliteDb.Update(found);
     }
 }
Beispiel #2
0
 public AppState RetrieveInstanceAppState(ModernCSApp.Services.AppDatabase.AppSystemDataEnums appSystemData)
 {
     var found = AppStates.Where(x => x.Name == ((int)appSystemData).ToString());
     return found.FirstOrDefault();
 }