             
             else
             {
-                self?.deleteCompleted(
+                self?.picDeleted(
                     userId:userId,
                     pictureId:pictureId,
-                    dataLength:dataLength)
+                    dataLength:dataLength,
+                    onSuccess:onSuccess)
                 
                 return
             }
             
-            VAlert.message(message:errorString)
-        }
-    }
-    
-    private func deleteCompleted(userId:String, pictureId:MPictures.PictureId, dataLength:Int)
+            onError?(errorString)
+        }
+    }
+    
+    private func picDeleted(userId:String, pictureId:MPictures.PictureId, dataLength:Int, onSuccess:(() -> ())?)
     {
         let parentUser:String = FDatabase.Parent.user.rawValue
         let propertyPictures:String = FDatabaseModelUser.Property.pictures.rawValue

    {
        guard
        
            let firebasePicture:FDatabaseModelPicture = mpich
    }
    
    private func confirmedDeletePicture()
    {
        guard
            

        
        FMain.sharedInstance.database.removeChild(path:pathPicture)
        
        onSuccess?()
    }
    
    //MARK: public
