@model IList @if (Model != null) { foreach (var costcenter in Model) { } }
@(string.IsNullOrEmpty(costcenter.CreditNumber) ? costcenter.Name : string.Format("{0} ({1})", costcenter.Name, costcenter.CreditNumber))