Beispiel #1
0
        public async Task <IActionResult> PostOneHorizontalTop([FromBody] CreateOneHorizontalTopCommand command)
        {
            if (!ModelState.IsValid)
            {
                return(BadRequest());
            }

            var result = await _furnitureService.CreateOneHorizontalTopAsync(command);

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