public SelectList Types() { var types = new CodeValueModel().MeetingCategories(); if (CurrentDatabase.Setting("MeetingTypesReportIncludeEmpty")) { types = types.AddNotSpecified(9999, "(Empty Type)"); } return(new SelectList(types.OrderBy(t => t.Id), "Id", "Value", Type)); }