Saxonite 1.2.11.5, BusinessMgr.

This commit is contained in:
Andy Howard
2024-06-13 14:30:50 +01:00
parent ba5801b4dc
commit 14102d5164
44 changed files with 645 additions and 411 deletions
+5 -2
View File
@@ -85,6 +85,7 @@ namespace Sacs.Web.Components
WebAppHome,
WebAppHome_SessionExpired,
}
[NonAction]
public String GetRedirectLocation(RedirectLocation redirectLocation)
{
string protocol = Request.Scheme;
@@ -110,13 +111,13 @@ namespace Sacs.Web.Components
//-------------------------------------------------------------------
public override void OnActionExecuting(ActionExecutingContext filterContext)
{
//if (DebugMode) SaLogger.Debug(GetType().Name + ".OnActionExecuting" + (ViewData.Model != null ? " Model: " + ViewData.Model : ""));
//if (DebugMode) SaLogger.Debug($"{SysUtil.Fn}" + (ViewData.Model != null ? " Model: " + ViewData.Model : ""));
base.OnActionExecuting(filterContext);
}
public override void OnActionExecuted(ActionExecutedContext filterContext)
{
//if (DebugMode) SaLogger.Debug(GetType().Name + ".OnActionExecuted" + (ViewData.Model != null ? " Model: " + ViewData.Model : ""));
//if (DebugMode) SaLogger.Debug($"{SysUtil.Fn}" + (ViewData.Model != null ? " Model: " + ViewData.Model : ""));
base.OnActionExecuted(filterContext);
}
@@ -159,6 +160,7 @@ namespace Sacs.Web.Components
//-------------------------------------------------------------------
// Cookies.
//-------------------------------------------------------------------
[NonAction]
/// <summary>Retrieve the value from the named request cookie.</summary>
public String GetRequestCookie(String key)
{
@@ -166,6 +168,7 @@ namespace Sacs.Web.Components
return Request.Cookies[key];
return null;
}
[NonAction]
/// <summary>Set the value against the named response cookie.</summary>
public void SetResponseCookie(string key, string value, DateTime? expiresAt = null, bool isEssential = false)
{