Esempio n. 1
0
 public ChangePlanModel(BillingGateway dynabicBillingGateway, int currentPlanId)
 {
     //get the current plan that this user is subscribed to
     CurrentPlan = dynabicBillingGateway.Products.GetProductById(currentPlanId.ToString());
     //get all your products
     Plans = new MyPlansModel(dynabicBillingGateway);
 }
Esempio n. 2
0
 public RegisterModel(BillingGateway dynabicBillingGateway)
     : this()
 {
     //get all your products
     Plans = new MyPlansModel(dynabicBillingGateway);
 }