private void DeleteProfile_Click(object sender, RoutedEventArgs e) { ProxyProfile profile = (ProxyProfile)((Button)e.Source).DataContext; _appViewModel.DeleteProxyProfile(profile); }
private void DeleteProfile_Click(object sender, RoutedEventArgs e) { ProxyProfile profile = (ProxyProfile)((Button)e.Source).DataContext; _appViewModel.DeleteProxyProfile(profile); }