Beispiel #1
0
 void Add()
 {
     Wanteds.Add(new Wanted
     {
         Name     = "New Employee",
         Nickname = "....."
     });
 }
Beispiel #2
0
        async void GetWanted()
        {
            IsBusy = true;
            await Task.Delay(10000);

            var resultado = GetWantedPersons();

            IsBusy = false;

            foreach (var item in resultado)
            {
                Wanteds.Add(item);
            }
        }