Esempio n. 1
0
 public BaseService(JinShopContext context)
 {
     _context = context;
     _dbSet   = _context.Set <TEntity>();
 }
Esempio n. 2
0
 public CategoryService(JinShopContext context) : base(context)
 {
     _context = context;
     _dbset   = _context.Set <Category>();
 }
Esempio n. 3
0
 public ProductService(JinShopContext context) : base(context)
 {
     _context = context;
     _dbSet   = _context.Set <Product>();
 }