public PostCacheService(PostMongoDbRepository _dbRepository) { dbRepository = _dbRepository; }
public PostMongoDbRepositoryTest(ITestOutputHelper _outPut) { depend = new Depend(); outPut = _outPut; postMongoDbRepository = depend.serviceProvider.GetRequiredService <PostMongoDbRepository>(); }