Moved System.IO references from DMO classes to Static Helpers

Removed nugetSource from pipeline
Removed more comments
Created Static Classes for most DMO / Controller Classes
Push ConfigurationManager.AppSettings to controller
Align Tests with other Projects
This commit is contained in:
2024-12-11 09:29:01 -07:00
parent b1c6903c1c
commit b99b721458
86 changed files with 2961 additions and 4432 deletions

View File

@ -44,10 +44,6 @@ namespace Fab2ApprovalSystem.Misc {
public string LotDispo { get; set; }
}
/// <summary>
///
/// </summary>
/// <returns></returns>
public IEnumerable<ExcelLotInfo> ReadData() {
var r = new List<ExcelLotInfo>();
var excelData = new ExcelData(_path);
@ -78,7 +74,6 @@ namespace Fab2ApprovalSystem.Misc {
List<string> s = new List<string>();
// We return the interface, so that
var excelData = new ExcelData(_path);
//var albums = excelData.getData("Sheet1");
var lotNos = excelData.getData();
foreach (var row in lotNos) {
string temValue = row[0].ToString();
@ -94,11 +89,6 @@ namespace Fab2ApprovalSystem.Misc {
return s;
}
/// <summary>
///
/// </summary>
/// <returns></returns>
public IEnumerable<DataRow> getData(bool firstRowIsColumnNames = true) {
var reader = this.getExcelReader();
reader.IsFirstRowAsColumnNames = firstRowIsColumnNames;