System.FormatException: Input string was not in a correct format. at System.Number.StringToNumber(String str, NumberStyles options, NumberBuffer& number, NumberFormatInfo info, Boolean parseDecimal) at System.Number.ParseInt32(String s, NumberStyles style, NumberFormatInfo info) at System.Int16.Parse(String s, NumberStyles style, NumberFormatInfo info) at CompiledRazorTemplates.Dynamic.RazorEngine_0b21a7ed48a546baaf160cd61436482c.Execute() in c:\Windows\Temp\RazorEngine_ojesxxal.3xz\qfsx52xb.0.cs:line 30 at RazorEngine.Templating.TemplateBase.RazorEngine.Templating.ITemplate.Run(ExecuteContext context, TextWriter reader) at RazorEngine.Templating.RazorEngineServiceExtensions.<>c__DisplayClass23_0.b__0(TextWriter writer) at RazorEngine.Templating.RazorEngineServiceExtensions.WithWriter(Action`1 withWriter) at Nevoweb.DNN.NBrightBuy.Components.NBrightBuyUtils.RazorRender(Object info, String razorTempl, String templateKey, Boolean debugMode)