public async void fillOptions() { this.Options = await optionDAO.ListAsync(); ////Debug.Write("****************" + Options.Count); //foreach (Option o in Options) //{ // Debug.Write(o.title); //} ////Debug.Write("**********************************************"); }
public async void init() { Options = await optionDAO.ListAsync(); StudentsDB = await studentDAO.ListAsync(); LessonDB = await lessonDAO.ListAsync(); if (Options.Count == 0) { await optionDAO.SaveAsync(new models.Option("G.INFO")); await optionDAO.SaveAsync(new models.Option("GTR")); await optionDAO.SaveAsync(new models.Option("GIndus")); await optionDAO.SaveAsync(new models.Option("GPMC")); Options = await optionDAO.ListAsync(); } }
public async void fillOptions() { this.Options = await optionDAO.ListAsync(); }