private Dictionary <int, int> transactionsMap; // key - old TransactionId, value - new TransactionId

        public SyncService(ITransactionRepository transactionRepository,
                           IAccountMobileRepository accountRepository,
                           ICurrencyRepository currencyRepository,
                           ICategoryRepository categoryRepository,
                           IAccountGroupRepository accountGroupRepository,
                           IUserRepository userRepository,
                           ISynchronizationRepository synchronizationRepository,
                           ITagRepository tagRepository,
                           IUserIdentityContext userIdentityContext,
                           GeneralSettings settings,
                           ISyncRequestBuilder syncRequestBuilder,
                           ISynchroniser synchroniser)
        {
            this.transactionRepository     = transactionRepository;
            this.accountRepository         = accountRepository;
            this.currencyRepository        = currencyRepository;
            this.categoryRepository        = categoryRepository;
            this.accountGroupRepository    = accountGroupRepository;
            this.userRepository            = userRepository;
            this.synchronizationRepository = synchronizationRepository;
            this.userIdentityContext       = userIdentityContext;
            this.settings           = settings;
            this.syncRequestBuilder = syncRequestBuilder;
            this.synchroniser       = synchroniser;
            this.tagRepository      = tagRepository;
        }
 public SyncMobileService(IFileHelper fileHelper,
                          ISyncService syncService,
                          ITransactionRepository transactionRepository,
                          ISyncRequestBuilder syncRequestBuilder,
                          ISynchroniser synchroniser,
                          ISynchronizationRepository synchronizationRepository,
                          ILogger logger,
                          GeneralSettings settings
                          )
 {
     this.fileHelper                = fileHelper;
     this.syncService               = syncService;
     this.transactionRepository     = transactionRepository;
     this.syncRequestBuilder        = syncRequestBuilder;
     this.synchroniser              = synchroniser;
     this.synchronizationRepository = synchronizationRepository;
     this.httpClient                = App.Container.ResolveNamed <HttpClient>("api");
     this.settings = settings;
     this.logger   = logger;
 }