public static IEnumerable <SelectListItem> GSAContractList(bool includeBlank) { using (var sRepository = new SpecRequestRepository()) { var theList = sRepository.GetGSAContractList() .Select(g => new SelectListItem() { Value = g.ID.ToString(), Text = g.Text }) .ToList(); if (includeBlank) { theList.Insert(0, new SelectListItem()); } return(theList); } }