public BeerTapRepository(BeerTapContext context)
 {
     _context = context;
 }
 public BeerTapRepository()
 {
     _context = new BeerTapContext();
 }
Пример #3
0
 public RepositoryService()
 {
     _context = new BeerTapContext();
     _entity  = _context.Set <TEntity>();
 }