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

@ -63,7 +63,7 @@ public class MvcApplication : System.Web.HttpApplication {
protected void Application_EndRequest() {
var context = new HttpContextWrapper(Context);
//Do a direct 401 unauthorized
// Do a direct 401 unauthorized
if (Context.Response.StatusCode == 301 && context.Request.IsAjaxRequest()) {
Context.Response.Clear();
Context.Response.StatusCode = 401;
@ -79,11 +79,11 @@ public class MvcApplication : System.Web.HttpApplication {
}
protected void Session_End(object sender, EventArgs e) {
//FormsAuthentication.SignOut();
// FormsAuthentication.SignOut();
try {
Session[GlobalVars.SESSION_USERNAME] = "";
Session[GlobalVars.SESSION_USERID] = "";
Session[GlobalVars.IS_ADMIN] = "";
Session[GlobalVars.IS_ADMIN] = null;
} catch (Exception ex) {
Functions.WriteEvent(null, @User.Identity.Name + "\r\n Session Closed - \r\n" + ex.Message.ToString(), System.Diagnostics.EventLogEntryType.Error);
}