public EFBaseRepository(LojaQueExplodeContext context)
 {
     _dbSet = context.Set <T>();
 }
 public EFProductRepository(LojaQueExplodeContext context) : base(context)
 {
     _dbSet = context.Set <Product>();
 }
 public EFUserRepository(LojaQueExplodeContext context) : base(context)
 {
     _dbSet = context.Set <User>();
 }
 public EFCategoryRepository(LojaQueExplodeContext context) : base(context)
 {
     _dbSet = context.Set <Category>();
 }
Beispiel #5
0
 public EFPermissionRepository(LojaQueExplodeContext context) : base(context)
 {
     _dbSet = context.Set <Permission>();
 }