private void IsPresent(int a_id) { ItemsDB data = null; try { data = db.Get <ItemsDB>(a_id); Console.WriteLine($"data: {data.ToString()}"); } catch (Exception) { isRecordPresent = true; } }