// Repository constructor with an argument
 public BeerPostRepository(BeerContext _context)
 {
     context = _context;
 }
 // Repository constructor
 public BeerPostRepository()
 {
     context = new BeerContext();
 }