Exemplo n.º 1
0
 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));
 }