private void bImportG_Click(object sender, EventArgs e) { var path = GetFilePath(); if (!String.IsNullOrWhiteSpace(path)) { ImportItemsToDatabase(DataImportExportProcessor.LoadFile(path).ConvertToGameModel(), SqliteDataAccess.CheckIfEmptyGame()); } }