Esempio n. 1
0
 // Repository constructor with an argument
 public BeerPostRepository(BeerContext _context)
 {
     context = _context;
 }
Esempio n. 2
0
 // Repository constructor
 public BeerPostRepository()
 {
     context = new BeerContext();
 }