         return managedObject
     }
     
-    func fetchManagedObjects(
+    func fetchData(
         entityName:String,
         limit:Int = 0,
         predicate:NSPredicate? = nil,

        }
    }
    
    func createManagedObjectAndWait(entityName:String) -> NSManagedObject?
    {
        var managedObject:NSManagedObject?
        

        }
    }
    
    func delete(data:NSManagedObject, completion:(() -> ())? = nil)
    {
        managedObjectContext.perform
        {
            self.managedObjectContext.delete(data)
            completion?()
        }
    }
    
    func deleteAndWait(data:NSManagedObject)
    {
        managedObjectContext.performAndWait
        {
            self.managedObjectContext.delete(data)
        }
    }
}
