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);
 }
 public RegisterModel(BillingGateway dynabicBillingGateway)
     : this()
 {
     //get all your products
     Plans = new MyPlansModel(dynabicBillingGateway);
 }