Example #1
0
 public MockRepository(IMockMongoContext context)
 {
     _context = context;
     DbSet    = _context.GetCollection <TEntity>(typeof(TEntity).Name);
 }
Example #2
0
 public MockUnitOfWork(IMockMongoContext context)
 {
     _context = context;
 }
 public DishMockRepository(IMockMongoContext context)
     : base(context)
 {
 }