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