Beispiel #1
0
 public UserInfoService(IMapper mapper,
                        IUserInfoRepository repository,
                        IErrorHandler error,
                        IValidator <UserInfoInputDto> validator,
                        MemoryCacheEx memorycache,
                        IMenuInfoRepository menuInfoRepository,
                        IRoleInfoRepository roleInfoRepository,
                        IPowerInfoRepository powerInfoRepository,
                        IRoleGroupRepository roleGroupRepository,
                        IUserGroupRepository userGroupRepository,
                        IPowerGroupRepository powerGroupRepository,
                        IOperateInfoRepository operateInfoRepository,
                        IUserGroupRelationRepository userGroupRelationRepository
                        ) : base(mapper, repository, error, validator)
 {
     _memorycache                 = memorycache;
     _userinfoRepository          = repository;
     _menuInfoRepository          = menuInfoRepository;
     _roleInfoRepository          = roleInfoRepository;
     _powerInfoRepository         = powerInfoRepository;
     _userGroupRepository         = userGroupRepository;
     _roleGroupRepository         = roleGroupRepository;
     _powerGroupRepository        = powerGroupRepository;
     _operateInfoRepository       = operateInfoRepository;
     _userGroupRelationRepository = userGroupRelationRepository;
 }
Beispiel #2
0
 public PowerGroupService(IMapper mapper,
                          IPowerGroupRepository repository,
                          IErrorHandler error,
                          IValidator <PowerGroupInputDto> validator) :
     base(mapper, repository, error, validator)
 {
     _powerGroupRepository = repository;
 }
Beispiel #3
0
 public PowerInfoService(IMapper mapper,
                         IPowerInfoRepository repository,
                         IErrorHandler error,
                         IValidator <PowerInfoInputDto> validator,
                         IPowerGroupRelationRepository powerGroupRelationRepository,
                         IPowerGroupRepository powerGroupRepository) :
     base(mapper, repository, error, validator)
 {
     _powerInfoRepository          = repository;
     _powerGroupRepository         = powerGroupRepository;
     _powerGroupRelationRepository = powerGroupRelationRepository;
 }
Beispiel #4
0
 public RoleGroupService(IMapper mapper,
                         IRoleGroupRepository repository,
                         IErrorHandler error,
                         IValidator <RoleGroupInputDto> validator,
                         IPowerGroupRepository powerGroupRepository,
                         IRoleGroupPowerGroupRelationRepository roleGroupPowerGroupRelationRepository) :
     base(mapper, repository, error, validator)
 {
     _roleGroupRepository  = repository;
     _powerGroupRepository = powerGroupRepository;
     _roleGroupPowerGroupRelationRepository = roleGroupPowerGroupRelationRepository;
 }
 public PowerGroupServices(IPowerGroupRepository Repository) : base(Repository)
 {
     repository = Repository;
 }