Esempio n. 1
0
        public async Task <IActionResult> AddUserToChannel([FromRoute] string CID, [FromRoute] string UID)
        {
            var res = await _ChannelService.AddUserToChannel(CID, UID);

            if (res)
            {
                return(Ok(successfull));
            }
            return(BadRequest());
        }