Example #1
0
 public UnitOfWork(thongkeContext context)
 {
     _context           = context;
     accountRepository  = new AccountRepository(_context);
     chiNhanhRepository = new ChiNhanhRepository(_context);
     dMDaiLyRepository  = new DMDaiLyRepository(_context);
     thongKeRepository  = new ThongKeRepository(_context);
 }
 public ChiNhanhRepository(thongkeContext context) : base(context)
 {
 }
Example #3
0
 public Repository(thongkeContext context)
 {
     _context = context;
 }
Example #4
0
 public ThongKeRepository(thongkeContext context) : base(context)
 {
 }
Example #5
0
 public AccountRepository(thongkeContext context) : base(context)
 {
 }
Example #6
0
 public DMDaiLyRepository(thongkeContext context) : base(context)
 {
 }