title: View logic or not for Drop Down list?
body: <p>I'm developing a ASP.NET MVC application. I have following class:</p>
  
  <pre><code>public class Organization {
      // Organization ID
      public int Id {get; set;}
      // Organization name
      public string Name {get; set;}
      // City where organization is located
      public string CityName {get;set;}
  }
  </code></pre>
  
  <p>This class is using in Model:</p>
  
  <pre><code>public class OrganizationsModel {
      public Organization[] Organizations { get; set; }
  }
  </code></pre>
  
  <p>In a view I want to render drop down list for picking an organization:</p>
  
  <pre><code>@Html.DropDownList("org", Model.OrganizationsList.Select(x =&gt; new SelectListItem { Value = x.Id, Text = String.Format("{0} ({1})", x.Name, x.CityName) }))
  </code></pre>
  
  <p>I have some fear about this:</p>
  
  <pre><code>new SelectListItem { Value = x.Id, Text = String.Format("{0} ({1})", x.Name, x.CityName) }
  </code></pre>
  
  <p>Is the view is wrong place for combining text for each option in drop down list? Maybe I should place this code to view model or controller? Looks like current code breaking MVC paradigm.</p>