示例#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;
 }
示例#2
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;
 }