public async Task <IActionResult> CreateElementAsync([FromBody] ElementCreationModel creation) { _logger.LogInformation($"(Element creation) Element creation requested => '{JsonConvert.SerializeObject(creation)}'"); var element = await _elementRepository.CreateAsync(creation); return(Created($"http://{Request.Host.Value}/{ControllerConstants.ElementControllerRoute}/{element.Id}", element)); }