public FriendEventHandler(IFriendInfoRepository rep, IFriendRedisRepository redis, IBusControl mqBus, IMapper mapper) { _accountRepository = rep; _redis = redis; _mqBus = mqBus; _mapper = mapper; }
public FriendCommandHandler(IFriendInfoRepository rep, IFriendRedisRepository redis, IMediatorHandler bus, IBusControl mqBus, IRequestClient <GetAccountBaseInfoMqCommand> mqCleint, IRequestClient <GetIdByPlatformMqCommand> mqGetIdCleint) { _friendRepository = rep; _redis = redis; _bus = bus; _mqBus = mqBus; _mqCleint = mqCleint; _mqGetIdCleint = mqGetIdCleint; }