Tuesday, 20 August 2013

MV4 Routing Dynamic Routing from MySQL Database

MV4 Routing Dynamic Routing from MySQL Database

I have the following sample data from a MySQL table.

My question is in my MVC 4 project how can I get routing to work so that
if a user goes to the URL www.mydomain.com/products/apples/ I want the
call to actually be the view of www.mydomain.com/products/index/1, how do
I achieve this ?

No comments:

Post a Comment