public static void DeleteInvitation(BigDB bigDb, InvitationType type, string sender, string recipient,
                                     Callback <bool> callback)
 {
     bigDb.DeleteRange(InvitationsTable, "BySenderAndRecipient",
                       new object[] { (int)type, sender, recipient }, null, null,
                       () => callback(true),
                       error => callback(false));
 }