コード例 #1
0
        public async Task <IActionResult> InsertImgtoChannel([FromRoute] string CID, [FromForm] IFormFile file)
        {
            var result = await _ChannelService.InsertImgtoChannel(CID, file);

            if (result)
            {
                return(Ok(successfull));
            }
            return(BadRequest(failed));
        }