public UnitOfWork(LogicXDBContext context) { _context = context; Roles = new RoleRepository(_context); Company = new CompanyRepository(_context); User = new UserRepository(_context); Customer = new CustomerRepository(_context); }
public RoleRepository(LogicXDBContext context) : base(context) { }
public UserRepository(LogicXDBContext context) : base(context) { }
public CustomerRepository(LogicXDBContext context) : base(context) { }
public CompanyRepository(LogicXDBContext context) : base(context) { }