public static void RegisterKycCountriesClient(this ContainerBuilder builder, IMyNoSqlSubscriber myNoSqlSubscriber, string grpcServiceUrl)
        {
            var subs = new MyNoSqlReadRepository <KycCountryNoSqlEntity>(myNoSqlSubscriber, KycCountryNoSqlEntity.TableName);

            var factory = new KYCClientFactory(grpcServiceUrl, subs);

            builder
            .RegisterInstance(subs)
            .As <IMyNoSqlServerDataReader <KycCountryNoSqlEntity> >()
            .SingleInstance();

            builder
            .RegisterInstance(factory.GetKycCountriesService())
            .As <IKycCountriesService>()
            .AutoActivate()
            .SingleInstance();
        }
        public static void RegisterKycCountriesClientWithoutCache(this ContainerBuilder builder, string grpcServiceUrl)
        {
            var factory = new KYCClientFactory(grpcServiceUrl, null);

            builder.RegisterInstance(factory.GetKycCountriesService()).As <IKycCountriesService>().SingleInstance();
        }