public async Task <ActionResult> GetCurrentUserRun(int runId) { var currentUserId = HttpContext.GetCurrentUserId(); var run = await _runService.GetRunAsync(currentUserId, runId); if (run == null) { return(StatusCode(StatusCodes.Status404NotFound, ErrorMessages.RunNotFound)); } return(StatusCode(StatusCodes.Status200OK, run)); }