public IActionResult GetChannel(int id) { Channel channel = _channelLogic.GetChannelById(id); if (channel == null) { return(NotFound("Channel is not found")); } return(Ok(channel)); }