Beispiel #1
0
        public async void LoadRegistros()
        {
            clienteServices = new ClienteServices();
            var result = await clienteServices.GetRegistroTransacciones(CodigoUsuario, SelectedDate);

            if (result.Count > 0)
            {
                IsVisibleButtons       = true;
                TransacccionCollection = new ObservableCollection <TransaccionmobileExtend>(result.OrderByDescending(a => a.Fecha));
            }
            else
            {
                IsVisibleButtons       = false;
                TransacccionCollection = new ObservableCollection <TransaccionmobileExtend>(new List <TransaccionmobileExtend>());
            }
        }