Refactored the DeleteIndex method in the View class so that it uses the RunInTransaction method.
Refactored the InsertDownloads method in the Puller class so that it uses the RunInTransaction method.