public async void LlenarLista(int usrid) { RepositoryWS <Memorizar> ws = new RepositoryWS <Memorizar>(); ws.urlWebService = new UrlServer().Server + "API/APIMemorizar?UsrId=" + usrid; LstMemorizar = await ws.GET(); NoRow = LstMemorizar.Count; if (NoRow > 0) { NoRow = NoRow - 1; Memorizar = LstMemorizar[NoRowActual]; OnPropertyChanged("PieDePagina"); } }
public async void LlenarLista(int usrid) { if (IsBusy == false) { IsBusy = true; ws = new RepositoryWS <Memorizar>(); ws.urlWebService = new UrlServer().Server + "API/APIMemorizar?UsrId=" + usrid; LstMemorizar = await ws.GET(); if (LstMemorizar.Count == 0) { MostrarMensajeRow = true; } TotalRow = LstMemorizar.Count; OnPropertyChanged("Paginacion"); IsBusy = false; } }