protected async Task DeleteRecordAsync <T>(T entity) where T : ITable, new()
 {
     await DatabaseFactory.DeleteRecordAsync(entity);
 }