public async Task Init() { var list = await _zanr.Get <List <Zanr> >(null); ZanrList.Clear(); foreach (var z in list) { ZanrList.Add(z); } }
public async Task PrikazZanr() { var list = await _service.Get <IEnumerable <Zanr> >(null); ZanrList.Clear(); foreach (var zanr in list) { ZanrList.Add(zanr); } }
public async Task Init() { var list = await _apiServiceZanr.Get <List <Zanr> >(null); ZanrList.Clear(); foreach (var g in list) { ZanrList.Add(g); } }