public static async Task<Data> Get() { var ret = await jc.Get<Data>("Data"); if (ret == null) { ret = new Data(); await ret.Save(); } return ret; }
public static async Task initFiles() { if (Directory.Exists(basepath) == false) Directory.CreateDirectory(basepath); Data = await Data.Get(); UpdateFormFromData(); //initPeopleList(); //UpdatePeopleTastePreferences(); //updateingrlistedit(); //updatemeallistedit(); }