public async Task <IActionResult> CreateAsync([FromBody] CreateFooDto createFooDto)
        {
            var createFooOutputPort = new CreateFooOutputPort();

            var newFoo = new Foo
            {
                Name = createFooDto.Name
            };

            var createFooUseCaseRequest = new CreateEntityUseCaseRequest <Foo>(newFoo);

            await _createFooUseCase.ExecuteAsync(createFooUseCaseRequest, createFooOutputPort);

            return(createFooOutputPort.ActionResult);
        }
        public IActionResult Create([FromBody] CreateFooDto createFooDto)
        {
            var createFooOutputPort = new CreateFooOutputPort();

            var newFoo = new Foo
            {
                Name = createFooDto.Name
            };

            var createFooUseCaseRequest = new CreateEntityUseCaseRequest <Foo>(newFoo);

            _createFooUseCase.Execute(createFooUseCaseRequest, createFooOutputPort);

            return(createFooOutputPort.ActionResult);
        }