Пример #1
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;
 }
Пример #2
0
 public SystemFunctionLogic(ISystemFunctionRepository functionRepository, ISystemMenuButtonFunctionRepository menuButtonFunctionRepository)
     : base(functionRepository)
 {
     _menuButtonFunctionRepository = menuButtonFunctionRepository;
     _functionRepository           = functionRepository;
 }