Beispiel #1
0
        private async void _Load()
        {
            List <User_DTO> listuser = new List <User_DTO>();

            listuser = await RestAPI.GetAccount();

            listaccount = listuser;

            foreach (User_DTO temp in listuser)
            {
                if (temp.is_block)
                {
                    temp.block = "Check";
                }
                else
                {
                    temp.block = "Block";
                }
            }

            list_user.ItemsSource   = listuser;
            progress_bar.Visibility = Visibility.Collapsed;
        }