Exemple #1
0
 public static bool?GetParameterAsBoolean(string key)
 {
     return(RequestHelper.GetParameterAsBoolean(key, null));
 }
Exemple #2
0
 public static string GetParameterAsString(string key)
 {
     return(RequestHelper.GetParameterAsString(key, null));
 }
Exemple #3
0
 public static void SetCookie(string key, object value, int expirationDays)
 {
     RequestHelper.SetCookie(key, value, DateTime.Now.AddDays(expirationDays));
 }
Exemple #4
0
 public static void SetCookie(string key, object value)
 {
     RequestHelper.SetCookie(key, value, null);
 }
Exemple #5
0
 public static int?GetParameterAsInteger(string key)
 {
     return(RequestHelper.GetParameterAsInteger(key, null));
 }
Exemple #6
0
 public static DateRangeCriteria GetParameterAsDateTime(string key)
 {
     return(RequestHelper.GetParameterAsDateTime(key, DateTime.MinValue, DateTime.MaxValue));
 }