private async Task <CustomerId> Insert(Customer customer, CancellationToken cancellationToken = default) { var customerDto = CustomerDto.From(customer); customerDto.Id = Guid.NewGuid(); await context.AddAsync(customerDto, cancellationToken); await context.SaveChangesAsync(cancellationToken); return(customerDto.Id); }