public async Task <ActionResult <ManipulationResult <FileFormat> > > PostFileFormatAsync([FromBody] FileFormat fileFormat) { var userIdClaimed = HttpContext.User.Identity.GetUserIdClaim(); if (userIdClaimed is null) { return(BadRequest()); } var postResult = await _fileFormatService.CreateFileFormatAsync(userIdClaimed.Value, fileFormat); return(Ok(postResult)); }