public GetGroupTotalQueryHandler(IUserCacheService cacheService,
                                         IGroupRepository groupRepository,
                                         ITransactionRepository transactionRepository,
                                         ICurrencyRepository currencyRepository,
                                         IForexService forexService)
            : base(cacheService)
        {
            _groupRepository       = groupRepository;
            _transactionRepository = transactionRepository;
            _currencyRepository    = currencyRepository;
            _forexService          = forexService;

            cacheService.SetSlidingExpiration(TimeSpan.FromMinutes(10));
        }
        public GetAssetsTotalQueryHandler(IUserCacheService cacheService,
                                          IAssetRepository assetRepository,
                                          ITransactionRepository transactionRepository,
                                          ICurrencyRepository currencyRepository,
                                          IForexService forexService,
                                          IMapper mapper)
            : base(cacheService)
        {
            _assetRepository       = assetRepository;
            _transactionRepository = transactionRepository;
            _currencyRepository    = currencyRepository;
            _forexService          = forexService;
            _mapper = mapper;

            cacheService.SetSlidingExpiration(TimeSpan.FromMinutes(10));
        }
        public GetAssetGroupedTransactionsQueryHandler(IUserCacheService cacheService,
                                                       IAssetRepository assetRepository,
                                                       ITransactionRepository transactionRepository,
                                                       IForexService forexService,
                                                       IUserRepository userRepository,
                                                       ICurrencyRepository currencyRepository,
                                                       IDefaults defaults,
                                                       IMapper mapper)
            : base(cacheService)
        {
            _assetRepository       = assetRepository;
            _transactionRepository = transactionRepository;
            _forexService          = forexService;
            _userRepository        = userRepository;
            _currencyRepository    = currencyRepository;
            _defaults = defaults;
            _mapper   = mapper;

            cacheService.SetSlidingExpiration(TimeSpan.FromMinutes(10));
        }