Click here to Skip to main content
15,897,187 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
I have a login action method and the corresponding view. The URL is : http://website/login

I was asked to show a different URL, along with the corresponding company name, when the user clicks this website link in another website. For ex: http://website/ThroughCompany1Login and http://website/ThroughCompany2Login etc

But the functionality inside both the action methods should be the same. I am not allowed to use attribute based routing, please let me know your suggestions. Should I end up repeating the Action methods and the views for this?

Thanks
Vijendra
Posted

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900