public Task <int> SaveBodyAsync(BodyIndexMassEntity body)
 {
     if (body.ID != 0)
     {
         // Update an existing note.
         return(database.UpdateAsync(body));
     }
     else
     {
         // Save a new note.
         return(database.InsertAsync(body));
     }
 }
 public Task <int> DeleteNoteAsync(BodyIndexMassEntity body)
 {
     // Delete a note.
     return(database.DeleteAsync(body));
 }