I created static method that will help me using js files (took the idea from him: https://stackoverflow.com/a/912989/289246).
@using Moj.Tg.Gen.UI.Common;
@section scripts {
@JSHelper.JSBlock("/Scripts/plugins/jquery.validate.js", "Scripts/plugins/jquery.validate.min.js")
@JSHelper.JSBlock("/Scripts/plugins/jquery.form.wizard.js", "Scripts/plugins/jquery.form.wizard.min.js")
@JSHelper.JSBlock("/Scripts/Pledges/create.js")
}
I want this to work without writing @using Moj.Tg.Gen.UI.Common;
each place I am using it.
Is this possible?