public async Task Init() { var list = await _apiServiceSala.Get <List <Sala> >(null); SalaList.Clear(); foreach (var s in list) { SalaList.Add(s); } }
public async Task Init2() { var list = await _sala.Get <List <Sala> >(null); SalaList.Clear(); foreach (var z in list) { SalaList.Add(z); } }
public async Task Init() { var list = await _sala.Get <IEnumerable <Sala> >(null); SalaList.Clear(); foreach (var sala in list) { SalaList.Add(sala); } }
public async Task PrikazSalu() { var list = await _service.Get <IEnumerable <Sala> >(null); SalaList.Clear(); foreach (var sala in list) { SalaList.Add(sala); } }