Пример #1
0
 public bool DoNext()
 {
     // A custom check is performed to determine which path of the wizard the user
     // should go down, a method is called on the controller that will change the state
     // navigate value to the equivalent view that should be activated
     if (radHome.Checked)
     {
         MyController.PurchaseHomeInsurance();
     }
     else
     {
         MyController.PurchaseCarInsurance();
     }
     return(true);
 }