예제 #1
0
        public async Task <IActionResult> PostBasicTop([FromBody] CreateBasicTopCommand command)
        {
            if (!ModelState.IsValid)
            {
                return(BadRequest());
            }

            var result = await _furnitureService.CreateBasicTopAsync(command);

            return(Ok(result.ToResponseDto()));
        }