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

            var result = await _furnitureService.CreateBasicGlassTopAsync(command);

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