示例#1
0
 /// <summary>
 ///
 /// </summary>
 /// <param name="accessGroupRepository"></param>
 /// <param name="misService"></param>
 /// <param name="logger"></param>
 public AccessGroupService(IAccessGroupRepository accessGroupRepository, IMisService misService,
                           ILogger <AccessGroupService> logger, ISsoService ISsoService)
 {
     _ISsoService = ISsoService ??
                    throw new ArgumentNullException(nameof(ISsoService));
     _accessGroupRepository = accessGroupRepository ??
                              throw new ArgumentNullException(nameof(accessGroupRepository));
     _misService = misService ?? throw new ArgumentNullException(nameof(misService));
     _logger     = logger ?? throw new ArgumentNullException(nameof(logger));
 }
示例#2
0
 public MisService(IMisService misService, Interfaces.IRedisCacheService redisCacheService)
 {
     _misService        = misService ?? throw new ArgumentNullException(nameof(misService));
     _redisCacheService = redisCacheService ?? throw new ArgumentNullException(nameof(redisCacheService));
 }