Exemplo n.º 1
0
        public List <string> GetPaymentMethodsWithId()
        {
            GetPaymentMethods();

            PaymentMethodsNames = PaymentMethods.AsEnumerable().Select(r => r.Field <string>(1)).ToList();
            PaymentMethodsIds   = PaymentMethods.AsEnumerable().Select(r => r.Field <int>(0)).ToList();

            return(DatabasetablesHelpers.CombineIdWithName(PaymentMethodsIds, PaymentMethodsNames));
        }