First, I'm not a developer (ui designer), but I'm having to work with some asp.net, well, because life...so I know little to nothing.
I have a structure like this:
Views > Partners >
and inside the "Partners", I have over 40 files named in CamelCase, like FileName.cshtml etc...
I need to re-route the url so instead of "website/Partners/PartnerName", it would be like this "website/partners/partner-name"
I tried tons of tutorials, but I just cannot understand what needs to be done to achieve this. The closest I got to a solution, was using the "[Route("partners/partner-name")]" inside the Partners controller. But for this solution, I have to add that line of code to all of the 40 files (gonna have more than a hundred in the future). I believe there must be some way to automatically do it for all the pages I have, instead of manually editing each one of them.
Again, I'm not a developer, I'm just having to deal with this right now, and I know almost nothing about .net. Thanks.