Example #1
0
        public async Task <ActionResult <ChannelResponse> > Edit([FromBody] EditChannelRequest request)
        {
            var channel = await _channelManager.CreateOrUpdateAsync(request.ToDomain(), Cancel);

            return(Ok(new ChannelResponse(channel)));
        }