public IEnumerable <Channel> GetAllChannels()
 {
     return(_channelsService.GetChannels());
 }
Example #2
0
 public async Task <IActionResult> GetChannels([FromBody] string UID) => Ok(await _ChannelService.GetChannels(UID));
 public async Task <List <ChannelDto> > GetChannels()
 {
     return(await _channelsService.GetChannels());
 }