BusinessMgr
This commit is contained in:
@@ -135,7 +135,7 @@ namespace Sacs.Web.Components
|
||||
|
||||
// Serialise parameters as if in a URL query string - so that they can be deserialised in DecryptParameters() below.
|
||||
// Start with a random length parameter name at start of list to obscure the encryption.
|
||||
string queryString = SacsRandomHelper.getRandomLengthNumber(4) + "&";
|
||||
string queryString = SacsRandomHelper.GetRandomLengthNumber(4) + "&";
|
||||
queryString += String.Join("&", paramKeys.Select(a => a + "=" + HttpUtility.UrlEncode(parametersToEncrypt[a])));
|
||||
|
||||
// Encrypt data.
|
||||
@@ -286,7 +286,7 @@ namespace Sacs.Web.Components
|
||||
ConfirmMessage = new ConfirmMessageData() { Title = title, Text = text, Actions = actions };
|
||||
return this;
|
||||
}
|
||||
public bool HasConfirmMessage { get { return ConfirmMessage != null; } }
|
||||
public bool? HasConfirmMessage { get { return ConfirmMessage != null ? true : null; } }
|
||||
}
|
||||
|
||||
//-------------------------------------------------------------------
|
||||
|
||||
Reference in New Issue
Block a user