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

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