Exemplo n.º 1
0
        protected async Task TotalSetUp()
        {
            lbl_Name.Content = "Welcome, " + name;
            dateBox.Content  = "Date: " + DateTime.Now.ToString("MMMM dd, yyyy");
            classes          = await StudentInfoHandler.GetCurrentClasses().ConfigureAwait(false);

            totalAssignments = await StudentInfoHandler.GetTodolist().ConfigureAwait(false);
        }
Exemplo n.º 2
0
        public async Task LoadData()
        {
            //load current classes
            currentClasses = await studentInfo.GetCurrentClasses();

            //load current tasks
            currentTasks = await studentInfo.GetTodoList();
        }
Exemplo n.º 3
0
        ////////LOGIC /////////////////////
        #region API Logic
        protected async Task RetrieveData()
        {
            UserName_lbl.Content = "Welcome, " + User;
            Date_lbl.Content     = "Today's Date : " + DateTime.Now.ToString("MMM dd, yyyy");

            currentCoursesJson = await StudentInfoHandler.GetCurrentClasses().ConfigureAwait(false);

            currentAssignmentsJson = await StudentInfoHandler.GetTodolist().ConfigureAwait(false);

            currentEnrollmentsJson = await StudentInfoHandler.GetStudentEnrollment().ConfigureAwait(false);
        }