private void MegfigyeltekhezAd(object sender, RoutedEventArgs e) { ModelApplicantList applicant = (sender as MenuItem).DataContext as ModelApplicantList; Applicant.AddToFavorite(applicant.id); }
private void MegfigyeltekhezAd(object sender, RoutedEventArgs e) { ModelApplicantList applicant = (sender as MenuItem).DataContext as ModelApplicantList; Applicant.AddToFavorite(applicant.id); }