public async Task Init() { if (SponzorList.Count == 0) { var sponzorlist = await _sponzor.Get <List <Sponzor> >(null); foreach (var s in sponzorlist) { SponzorList.Add(s); } } if (SelectedSponzor != null) { UplataSearchRequest search = new UplataSearchRequest(); search.SponzorId = SelectedSponzor.SponzorId; var list = await _uplata.Get <IEnumerable <Uplata> >(search); UplataList.Clear(); foreach (var u in list) { UplataList.Add(u); } } }
public async Task PrikazSponzor() { var list = await _service.Get <IEnumerable <Sponzor> >(null); SponzorList.Clear(); foreach (var s in list) { SponzorList.Add(s); } }
public async Task Init() { var list = await _apiServiceSponzor.Get <List <Sponzor> >(null); SponzorList.Clear(); foreach (var g in list) { SponzorList.Add(g); } }
public async Task Init() { var list = await _sponzor.Get <List <Sponzor> >(null); SponzorList.Clear(); foreach (var s in list) { SponzorList.Add(s); } }