I have the following constructor for a class:
public SelectList(IEnumerable items);
I have been populating this with the following:
var AccountId = new SelectList(_reference.Get("01")
.AsEnumerable()
.OrderBy(o => o.Order), "RowKey", "Value", "00");
Now I would like to populate with one element of data where the data is a list as follows:
RowKey = "", Value = "00"
How can I make an IEnumerable from the above line?