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:
@ -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));
|
||||
|
Reference in New Issue
Block a user