예제 #1
0
        public async Task <IActionResult> Create([FromForm] VideoDetail model)
        {
            var result = await _videosService.CreateAsync(model);

            if (result.IsSuccess)
            {
                return(Ok(result));
            }

            return(BadRequest(result));
        }