private void RefuseRecruitedApplicant(object sender, RoutedEventArgs e)
        {
            MessageBoxResult result = MessageBox.Show("Biztosan törölni szeretné? \n", "HR Cloud", MessageBoxButton.YesNo);

            switch (result)
            {
            case MessageBoxResult.Yes:
                ModelFreelancerApplicant applicant = (sender as Button).DataContext as ModelFreelancerApplicant;
                Applicant.DeleteApplicant(applicant.id, true);
                new Email().Send(applicant.email, new EmailTemplate().Kolcsonzott_Elutasito(applicant));
                applicantListLoader();
                break;

            case MessageBoxResult.No:
                break;
            }
        }
        protected void applicantDeleteClick(object sender, RoutedEventArgs e)
        {
            MessageBoxResult result = MessageBox.Show("Biztosan törölni szeretnéd? \n", "HR Cloud", MessageBoxButton.YesNoCancel);

            switch (result)
            {
            case MessageBoxResult.Yes:
                MenuItem           menuItem = sender as MenuItem;
                ModelApplicantList items    = menuItem.DataContext as ModelApplicantList;
                Applicant.DeleteApplicant(items.id);
                Files.DeleteFolder(items.id);
                applicantListLoader();
                break;

            case MessageBoxResult.No:
                break;

            case MessageBoxResult.Cancel:
                break;
            }
        }