Пример #1
0
        public async Task <IActionResult> PostLCornerBottom([FromBody] CreateLCornerBottomCommand command)
        {
            if (!ModelState.IsValid)
            {
                return(BadRequest());
            }

            var result = await _furnitureService.CreateLCornerBottomAsync(command);

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