private void PrintTransaction(Transaction transaction, IList <Tool> tools)
        {
            var result = MessageBox.Show("Czy wydrukować potwierdzenie ?", "Potwierdzenie", MessageBoxButton.YesNo);

            if (result == MessageBoxResult.Yes)
            {
                var print = new PrintTransaction(transaction, tools, _db);
                print.Print();
            }
        }