Exemplo n.º 1
0
 public IEnumerable <Channel> GetAllChannels()
 {
     return(_channelsService.GetChannels());
 }
Exemplo n.º 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());
 }