コード例 #1
0
        public async Task <IActionResult> PostBasicWithDrawerBottom(
            [FromBody] CreateBasicWithDrawerBottomCommand command)
        {
            if (!ModelState.IsValid)
            {
                return(BadRequest());
            }

            var result = await _furnitureService.CreateBasicWithDrawerBottomAsync(command);

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