I have two types of users Client and Vendor for my MVC 3 application. How can I customize the existing register.cshtml to offer an anonymous user the following options:
- 1. To register as either a client or vendor
- 2. Offer custom registration options based on their choice
This has been quite a challenge thus far.
I think you can assign the
UsertoRolethen return functionality based on the role they choose.Hope this helps.
In the controller you could have something like: