public static void ImportCommonAssets(string INN) { CommonAssetsSQLiteDataProvider commonAssetsSQLiteDataProvider = new CommonAssetsSQLiteDataProvider(); CommonAssetsDataProvider commonAssetsDataProvider = new CommonAssetsDataProvider(); List <CommonAssets> listToImport = commonAssetsDataProvider.Load(); if (listToImport.Count != 0) { commonAssetsSQLiteDataProvider.ImportCommonAssets(listToImport, INN); } }
public CommonAssetsLogic(DataGridView commonAssetsGridView) { this.commonAssetsGridView = commonAssetsGridView; commonAssetsDataProvider = new CommonAssetsSQLiteDataProvider(); }