how to convert
list<model>abc to
ienumerable<selectlistitem>abc type. in a controller where
model:
public class model
{ public guid id,
public string name,
public Ienumerable<selectlistitem> abc
}
where abc is a table which contains records with
abcid,abcname as columns which must be mapped to
model.id,model.name ie
abcid = model.id,abcname=model.name