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

            await _furnitureService.CreateTwoHorizontalGlassTopAsync(command);

            return(Ok(ResponseDto.Default));
        }