private async Task <ICommandResult <Project> > CreateProject(UploadTestResultCommand command)
        {
            var createProjectCommand = new CreateProjectCommand(command.ProjectName);
            var projectCommandResult = await _projectCommandHandler.ExecuteAsync(createProjectCommand);

            return(projectCommandResult);
        }
        public async Task <IActionResult> CreateProject([FromBody] CreateProjectCommand createProjectCommand)
        {
            var commandResult = await _projectCommandHandler.ExecuteAsync(createProjectCommand);

            if (commandResult.Success)
            {
                return(Ok(commandResult.Result));
            }

            return(BadRequest(createProjectCommand));
        }