public async Task Create(EntityOpenPort entityOpenPort)
 {
     using (var context = new InternalDomainCheckerContext(_dbContextOptions))
     {
         context.OpenPorts.Add(entityOpenPort);
         await context.SaveChangesAsync();
     }
 }
        public async Task <int> Create(EntityDomain entityDomain)
        {
            using (var context = new InternalDomainCheckerContext(_dbContextOptions))
            {
                context.Domains.Add(entityDomain);
                await context.SaveChangesAsync();

                return(entityDomain.DomainId);
            }
        }