private void BtnReadFile_Click(object sender, RoutedEventArgs e) { FileResult result = FileHelper.OpenFile(); if (result.Succeeded) { ProductHelper.CreateProducts(result.CsvObjectRows); } LoadData(); }