示例#1
0
 public EmployeeUnitOfWork(EmployeeRepository employeeRepository,
                           UserGroupRepository userGroupRepository,
                           UserRepository userRepository,
                           PermissionKeyRepository permissionKeyRepository)
 {
     _employeeRepository      = employeeRepository;
     _userGroupRepository     = userGroupRepository;
     _userRepository          = userRepository;
     _permissionKeyRepository = permissionKeyRepository;
 }
 public UserGroupRepository(PermissionKeyRepository permissionKeyRepository,
                            UserGroupPermissionRepository userGroupPermissionRepository)
 {
     _permissionKeyRepository       = permissionKeyRepository;
     _userGroupPermissionRepository = userGroupPermissionRepository;
 }