private void HandleWriteAndFlushTransact(List <TransactionModel> entities) { uploadRepository.CreateTransactions(entities); entities.Clear(); }