Exemplo n.º 1
0
        public async void fillOptions()
        {
            this.Options = await optionDAO.ListAsync();

            ////Debug.Write("****************" + Options.Count);
            //foreach (Option o in Options)
            //{
            //    Debug.Write(o.title);
            //}
            ////Debug.Write("**********************************************");
        }
Exemplo n.º 2
0
        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();
            }
        }
Exemplo n.º 3
0
 public async void fillOptions()
 {
     this.Options = await optionDAO.ListAsync();
 }