Using java script code in MVC5 – where to put it
Im having MVC5 application and in the view index.cshtml I need to use
some java script code ,currently I put the script code inside the view and its working fine.
My question is where should I put this code (from best practice) and how should
I refer to it from the view?please provide an example.