title: How to pass a value to razor variable from javascript variable?
body: <p>How to pass a value to razor variable from javascript variable, is it possible asp.net mvc razor view engine?</p>
  
  <pre><code>@{
      int a = 0;
  }
  
  &lt;script&gt;
      var b = ...
      @a = b;
  &lt;/script&gt;
  </code></pre>