protected Repository(INEWSMongoContext context) { _mongoContext = context; _dbCollection = _mongoContext.GetCollection <TEntity>(typeof(TEntity).Name); }
public NewsRepository(INEWSMongoContext context) : base(context) { }
public UnitOfWork(INEWSMongoContext context) { _context = context; }