private void HyperlinkEditDelete_OnClick(object sender, MouseButtonEventArgs e) { WebLibraryDetail web_library_detail = DataContext as WebLibraryDetail; if (null != web_library_detail) { WebsiteAccess.EditOrDeleteLibrary(web_library_detail.ShortWebId); } e.Handled = true; }
void ButtonEditDelete_Click(object sender, RoutedEventArgs e) { WebsiteAccess.EditOrDeleteLibrary(this.library.WebLibraryDetail.ShortWebId); }