Пример #1
0
 public UnitOfWork(LogicXDBContext context)
 {
     _context = context;
     Roles    = new RoleRepository(_context);
     Company  = new CompanyRepository(_context);
     User     = new UserRepository(_context);
     Customer = new CustomerRepository(_context);
 }
Пример #2
0
 public RoleRepository(LogicXDBContext context)
     : base(context)
 {
 }
Пример #3
0
 public UserRepository(LogicXDBContext context)
     : base(context)
 {
 }
Пример #4
0
 public CustomerRepository(LogicXDBContext context)
     : base(context)
 {
 }
Пример #5
0
 public CompanyRepository(LogicXDBContext context)
     : base(context)
 {
 }