Ejemplo n.º 1
0
        public void AddPaymentType()
        {
            PaymentType c = this.dm.CreateObject <PaymentType>();

            c.Id = GuidComb.Generate();
            dm.AddPaymentType(c);

            PaymentTypeViewModel vm = new PaymentTypeViewModel(c);

            AllPaymentTypes.Add(vm);
            CurrentPaymentType = vm;
        }
Ejemplo n.º 2
0
        public void AddPaymentType()
        {
            PaymentType c = this.dm.CreateObject<PaymentType>();
            c.Id = GuidComb.Generate();
            dm.AddPaymentType(c);

            PaymentTypeViewModel vm = new PaymentTypeViewModel(c);
            AllPaymentTypes.Add(vm);
            CurrentPaymentType = vm;
        }