public static void MarkAsRemovedAnnotation(String bookID, String pageID) { Annotation annotation = GetAnnotation(bookID, pageID); if (annotation != null) { annotation.Removed = true; annotation.ModifiedUtc = DateTime.UtcNow; AnnotationsDataAccessor.UpdateAnnotation(annotation); } }
public static void UpdateAnnotation(Annotation annotation) { AnnotationsDataAccessor.UpdateAnnotation(annotation); }