public ObservableCollection <ChannelsInfo> GetChannelsInfo() { if (_channelsInfos != null) { var result = _channelService.GetAll(); if (result.IsSuccess) { return(new ObservableCollection <ChannelsInfo>(result.Value)); } } return(_channelsInfos); }
public ObservableCollection <ChannelsInfo> GetChannelsInfo() { if (_channelsInfos != null) { var result = _channelService.GetAll(); if (result.IsSuccess) { return(new ObservableCollection <ChannelsInfo>(result.Value)); } } return(_channelsInfos); }