public async Task <IActionResult> AnalyzeFile([FromRoute] Guid id, [FromHeader] string authorization) { var model = JwtUtil.GetUserIdFromToken(authorization); var taskId = await _analysisService.AnalyzeFile(id, model.UserId); return(new AcceptedResult($"api/analysis/{taskId}", new AnalysisResponse(taskId))); }