0

For my mobile computer control project I want to delete my firebase collection in c#. I can delete the file, but the collection is not deleted. Please help.

Also, I wrote the mobile side with flutter. I wrote the computer side with c#, because I am trying something on artificial intelligence.

void GetAllDocument()
{
    uyarisayfasi uyari = new uyarisayfasi();
    try
    {
        DocumentReference docref = database.Collection("Status").Document(id);
        docref.DeleteAsync();
    }
    catch
    {
        uyari.Show();
    }
}
Frank van Puffelen
  • 499,950
  • 69
  • 739
  • 734

0 Answers0