private void ShowLoanedItems()
        {
            Students selectedStudent = (Students)StudentListbox.SelectedItem;

            LoansListbox.ItemsSource = null;
            LoansListbox.ItemsSource = loansRepository.GetOnlyLentLoans(selectedStudent.Id);
        }