Example #1
0
        private async Task InitializeDataAsync()
        {
            Loading = true;
            var studentServices = new StudentServices();

            StudentContract = await studentServices.GetStudentContractAsync(_token);

            Loading = false;
            if (StudentContract.Count == 0)
            {
                await App.Current.MainPage.DisplayAlert("Obavijest", "Trenutno ne postoje podaci o ugovorima.", "Uredu");
            }
        }