Ejemplo n.º 1
0
        private async Task LoadPayments()
        {
            UseWaitCursor = true;

            PaymentController paymentController = Program.DI.Resolve <PaymentController>();

            Payments = await(MyPaymentsOnlyFilter.Checked ? paymentController.GetByCreator(session.id) :
                             paymentController.GetAll());

            UseWaitCursor = false;
        }