Exemplo n.º 1
0
        public async Task <IActionResult> PostThreeHorizontalGlassTop(
            [FromBody] CreateThreeHorizontalGlassTopCommand command)
        {
            if (!ModelState.IsValid)
            {
                return(BadRequest());
            }

            await _furnitureService.CreateThreeHorizontalGlassTopAsync(command);

            return(Ok(ResponseDto.Default));
        }