示例#1
0
 public LiquorOperation()
 {
     _liquorRepository = new LiquorRepository();
 }
示例#2
0
 public UnitOfWork(LiquorStoreContext context)
 {
     _context = context;
     Users    = new UserRepository(_context);
     Liquors  = new LiquorRepository(_context);
 }