Beispiel #1
0
        public static Dictionary <int, PaymentType> Get_Dict()
        {
            var payment_types = PaymentType.GetCached();

            Dictionary <int, PaymentType> d = new Dictionary <int, PaymentType>();

            foreach (PaymentType p in payment_types)
            {
                d[p.payment_type_id] = p;
            }
            return(d);
        }