コード例 #1
0
        private async Task InitializeDataAsync()
        {
            Loading = true;
            var studentServices = new StudentServices();

            StudentProfit = await studentServices.GetStudentProfitAsync(_token);

            Loading = false;
            if (StudentProfit.Count == 0)
            {
                await App.Current.MainPage.DisplayAlert("Obavijest", "Trenutno ne postoje podaci o zaradi.", "U redu");
            }
        }