What does deletesync return? Xamarin with Azure

0

Good to you all guys. I need to know what function or method returns the code that is generated when you delete a record from the database. The method I'm using is "DeleteAsync" from Azure. I need to know the same thing for other operations (insertAsync, etc). Next I expose my code

void delete_click_button(object sender, EventArgs a) {
    if (ID != "") { 
        App.AzureService.MetodoDelete(ID); 
        //Si devuelve el codigo correcto....{
        DisplayAlert("Warning", "Eliminado satisfactoriamente", "Back");
             Navigation.PopAsync();
     }
         //Si devuelve codigo de error....
     {
            //display message
     }
}

Greetings

    
asked by Josemio 14.06.2017 в 19:16
source

1 answer

0

If it is IMobileServiceSyncTable, DeleteAsync returns a Task, that is, it is expected, but only that, so for practical purposes it does not return anything.

    
answered by 14.06.2017 в 20:38