示例#1
0
        public async Task <ProductOutputDto> AddProduct(ProductInputDto productInputDto)
        {
            var productEntity = productMapperService.MapToEntity(productInputDto);
            var output        = await productDomainService.Add(productEntity);

            return(productMapperService.MapToDto(output));
        }