title: MVC Razor @foreach
body: <p>I heard that having @foreach inside of a view is a no-no. Meaning, the view should not have any logic in it. What is the best practice on where the logic for the @foreach should be at? </p>
  
  <pre><code>    @foreach.. 
  </code></pre>