public LoadResult TypesSelectList(DataSourceLoadOptions loadOptions) { //return repository.GetChannelTypes().ToSelectList(x => x.Id, x => x.Name); return(DataSourceLoader.Load(channelManager.GetChannelTypes().ToSelectList(x => x.Id, x => x.Name), loadOptions)); }