title: How do I only get unique values to appear in a 2sxc list with a C# razor template?
body: <p>Using 2sxc App, I have a listing of career cards. On each card, I have a CSS class assigned with a category so that I can filter the listing by using buttons in the sidebar. (using a javascript called mixitup).</p>
  <p>Because of this, the CSS class &quot;social-studies&quot; might show up 10 times and Math might show up 1 time and Science might show up 7 times - depending on the number of times the category has been assigned to a career.</p>
  <p>For the sidebar's filter buttons, I want to only show the filters that are used. So if my categories are:</p>
  <ol>
  <li>Social Studies</li>
  <li>Math</li>
  <li>Sciences</li>
  <li>Physical Education</li>
  <li>English</li>
  <li>History</li>
  </ol>
  <p>But if only Social Studies, Math, and Sciences are used, I want to only show those 3.</p>
  <p>Using the typical loop in 2sxc, I can loop through every instance but that creates a big list that has duplicate filter buttons. How can I create a loop in c# razor that only provides the unique instances of the filters?</p>