public DatabasePeopleRepository(string connectionString)
        {
            DbContextOptionsBuilder <PeopleDbContext> builder = new DbContextOptionsBuilder <PeopleDbContext>();

            builder.UseSqlServer(connectionString);
            _dbContext = new PeopleDbContext(builder.Options);
            _dbContext.Database.Migrate();
        }
        public DatabasePeopleRepository(IConfiguration configuration)
        {
            var connectionString = configuration.GetConnectionString("DefaultConnection");
            DbContextOptionsBuilder <PeopleDbContext> builder = new DbContextOptionsBuilder <PeopleDbContext>();

            builder.UseSqlServer(connectionString);
            _dbContext = new PeopleDbContext(builder.Options);
            _dbContext.Database.Migrate();
        }