public async Task <IActionResult> Post([FromBody] CreateSchemaDto dto, CancellationToken cancellationToken) { var id = await _schemaService.CreateAsync(dto.Fields.ToEntities().ToList(), cancellationToken); return(AcceptedAtAction(nameof(Get), new { id = id }, null)); }