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

@ -16,13 +16,10 @@ internal class FTPWrapper {
_DestinationFileName = destinationFileName;
}
/// <summary>
///
/// </summary>
public void FTPToSPN() {
FTP ftpLib = new();
//Connect to the FTP server
// Connect to the FTP server
try {
ftpLib.Connect(_AppSettings.FTPServer, _AppSettings.FTPUser, _AppSettings.FTPPassword);
} catch (Exception ec) {
@ -30,7 +27,7 @@ internal class FTPWrapper {
": " + ec.Message, System.Diagnostics.EventLogEntryType.Error);
}
//Upload the file
// Upload the file
try {
int pct = 0;
ftpLib.OpenUpload(_OutputFile, _DestinationFileName);