Example #1
0
 public GenericRepository(BeSafeContainer _context)
 {
     this._context = _context;
     table         = _context.Set <T>();
 }
Example #2
0
 public GenericRepository()
 {
     this._context = new BeSafeContainer();
     table         = _context.Set <T>();
 }