Ejemplo n.º 1
0
 public static string SecureAction(this UrlHelper urlHelper, Task <ActionResult> taskResult)
 {
     return(urlHelper.SecureAction(taskResult.Result, null, null));
 }
Ejemplo n.º 2
0
 public static string SecureAction(this UrlHelper urlHelper, Task <ActionResult> taskResult, string protocol = null, string hostName = null)
 {
     return(urlHelper.SecureAction(taskResult.Result, protocol, hostName));
 }
Ejemplo n.º 3
0
 public static string SecureAction(this UrlHelper urlHelper, ActionResult result)
 {
     return(urlHelper.SecureAction(result, null, null));
 }