private void DeleteDocumentSuccess(IList <string> documentIds) { var notification = documentIds.Count > 1 ? string.Format("{0} documents were deleted", documentIds.Count) : string.Format("Document {0} was deleted", documentIds.First()); ApplicationModel.Current.AddNotification(new Notification(notification)); ClearSelection(); PageView.UpdateAllFromServer(); }