Ana Kategorileri Getirme (Dışına Row Ekleyerek)

@{
    for (int s = 0; s < 2; s = s + 1)
    {
        <div class="row">
            @foreach (Category cat in Partial.CategoryRoot(lang).OrderBy(m => m.CategoryOrder).Skip(6 * s).Take(6))
            {
                <div class="col-lg-2 col-sm-6">
                    <div class="iconic">
                        <a href="@Partial.CategoryLink(cat.CategoryID)">
                            <img src="@cat.CategoryThumbnail" />
                        </a>
                    </div>
                    <div class="title">
                        <a href="@Partial.CategoryLink(cat.CategoryID)"><h3>@cat.CategoryTitle</h3></a>
                    </div>
                </div>
            }
        </div>
    }

}