Beispiel #1
0
        public async Task <WebsiteResultDto> CreateAsync(WebsiteCreateDto model)
        {
            var website = await _factory.CreateAsync(model);

            await _repository.AddAndSaveAsync(website);

            return(website.Adapt <WebsiteResultDto>());
        }