예제 #1
0
 public GenaricRepository(BayolyDbContext _context)
 {
     this._context = _context;
     table         = _context.Set <T>();
 }
예제 #2
0
 public UnitOfWork(BayolyDbContext contaxt)
 {
     _contaxt = contaxt;
     UserGenaricRepository = new GenaricRepository <User, Guid>(_contaxt);
 }