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

@ -24,9 +24,6 @@ public class FileUtilities<T> : Controller // <T> => System.Web.Mvc.FileContentR
{
public T DownloadFilesFromServer<T>(string pathToFile) {
//string templatesPath = GlobalVars.CA_BlankFormsLocation;
//string fullName = Server.MapPath("~" + filePath);
byte[] fileBytes = GetFile(pathToFile);
var result = File(fileBytes, System.Net.Mime.MediaTypeNames.Application.Octet, pathToFile);
return (T)Convert.ChangeType(result, typeof(T));