MVC newbie here again!
I have two lists in my controller.
IList<Cars> allCars = _repository.GetAll<Cars>();
IList<Bikes> allBikes = _repository.GetAll<Bikes>();
Cars { Id, Name }
Bikes { Id, Name }
So, I have this list of class and I want to display a select dropdown list with an optgroup for bikes and cars, something like this: http://jsfiddle.net/xNEm9/
thanks!