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

            var result = await _furnitureService.CreateSingleFormatterAsync(command);

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