예제 #1
0
        public KwetRepositoryTest()
        {
            _mongoDbRunner = MongoDbRunner.Start();
            var settings = new KwetstoreDatabaseSettings()
            {
                ConnectionString   = _mongoDbRunner.ConnectionString,
                DatabaseName       = "KwetIntergrationTest",
                KwetCollectionName = "TestCollection"
            };

            _kwetRepository = new KwetRepository(settings);
        }
예제 #2
0
 public KwetService(IKwetRepository repository, IJwtIdClaimReaderHelper jwtIdClaimReaderHelper)
 {
     _repository             = repository;
     _jwtIdClaimReaderHelper = jwtIdClaimReaderHelper;
 }