コード例 #1
0
        public async Task <Domain> CreateDomainAsync(CreateDomainRequest createDomainRequest)
        {
            var request = mapper.Map <Data.CreateDomainRequest>(createDomainRequest);
            var domain  = await domainDataProvider.CreateDomainAsync(request);

            return(mapper.Map <Domain>(domain));
        }