'Data Mapping and Validation Services in DDD with Azure Function

I have an Azure Function and I'm following DDD Architecture. It's not 100% complete yet. The folder structure looks like this: enter image description here

Here, I want move the Supplier Creation (line no. 25 to 39) code to some service where I can do a Validation and Add data to database. I need suggestion, where to Implement such Services? In Application Layer or Infrastructure? Please advice.



Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source