public override void DropFileAction(string filesPathItem) { //List<MaterialStuck> materialList = ExcelUtil.ConvertExcelToMaterialListFromAvila(filesPathItem); List <MaterialStuck> materialList = ExcelUtil.ConvertExcelToMaterialListFromMemo(filesPathItem); //List<MaterialStuck> materialList = ExcelUtil.ConvertExcelToMaterialListFromWarehouseExcel(filesPathItem); DataDB.InsertMaterialListAvila(materialList); if (materialList.Count != 0) { MessageBox.Show($"Se insertaron {materialList.Count} materiales en almacén"); } else { MessageBox.Show($"No se inserto ningún registro cheque el formato"); } }