     
     public func controllerDidChangeContent(_ controller: NSFetchedResultsController<NSFetchRequestResult>) {
         
-        tableView.beginUpdates()
-        
-        tableView.reloadSections(
-            IndexSet(integersIn: 0..<webServiceController.sections.count),
-            with: .automatic
-        )
-        
-        tableView.endUpdates()
+        tableView.reloadData()
         
     }
     

    }

}

    
    public override func viewDidLoad() {
        super.viewDidLoad()
        
        navigationItem.rightBarButtonItem = UIBarButtonItem(
            barButtonSystemItem: .refresh,
            target: self,
            action: .refresh
        )
        
        let modelURL = Bundle.main().urlForResource("Cache", withExtension: "momd")!
        let model = NSManagedObjectModel(contentsOf: modelURL)!
