Пример #1
0
 public CommonService(
     ISystemUserRepository systemUserRepository,
     ISystemRoleRepository systemRoleRepository,
     ISystemPlantRepository systemPlantRepository,
     ISystemOrgRepository systemOrgRepository,
     ISystemBUMRepository systemBUMRepository,
     ISystemBUDRepository systemBUDRepository,
     IFlowChartPCMHRelationshipRepository flowChartPCMHRelationshipRepository,
     ISystemOrgBomRepository systemOrgBomRepository,
     IProjectUsersGroupRepository projectUsersGroupRepository,
     ISystemUserOrgRepository systemUserOrgRepository,
     ISystemUserBusinessGroupRepository systemUserBusinessGroupRepository,
     ISystemProjectRepository systemProjectRepository,
     IFlowChartMasterRepository flowChartMasterRepository,
     IFlowChartMgDataRepository flowChartMgDataRepository,
     ISystemLocaleStringResourceRepository systemLocaleStringResourceRepository,
     IUnitOfWork unitOfWork)
 {
     this.systemUserRepository  = systemUserRepository;
     this.systemRoleRepository  = systemRoleRepository;
     this.systemPlantRepository = systemPlantRepository;
     this.systemOrgRepository   = systemOrgRepository;
     this.systemBUMRepository   = systemBUMRepository;
     this.systemBUDRepository   = systemBUDRepository;
     this.flowChartPCMHRelationshipRepository = flowChartPCMHRelationshipRepository;
     this.systemOrgBomRepository               = systemOrgBomRepository;
     this.projectUsersGroupRepository          = projectUsersGroupRepository;
     this.systemUserOrgRepository              = systemUserOrgRepository;
     this.systemUserBusinessGroupRepository    = systemUserBusinessGroupRepository;
     this.systemProjectRepository              = systemProjectRepository;
     this.flowChartMasterRepository            = flowChartMasterRepository;
     this.systemLocaleStringResourceRepository = systemLocaleStringResourceRepository;
     this.flowChartMgDataRepository            = flowChartMgDataRepository;
     this.unitOfWork = unitOfWork;
 }
Пример #2
0
 public SystemService(
     ISystemFunctionRepository systemFunctionRepository,
     ISystemUserRepository systemUserRepository,
     ISystemBUMRepository systemBUMRepository,
     ISystemPlantRepository systemPlantRepository,
     IUnitOfWork unitOfWork)
 {
     this.systemFunctionRepository = systemFunctionRepository;
     this.systemUserRepository     = systemUserRepository;
     this.systemBUMRepository      = systemBUMRepository;
     this.systemPlantRepository    = systemPlantRepository;
     this.unitOfWork = unitOfWork;
 }