public UrlParameters GetConfirmSetPasswordUrlParameters(long tenantId, Token confirmToken)
        {
            string confirmTokenText = _securityService.SerializeToken(confirmToken);

            return(new UrlParameters
            {
                ActionName = "ConfirmSetPassword",
                ControllerName = "Users",
                RouteValues = new { activationkey = confirmTokenText },
                Protocol = _webHelperService.GetRequestScheme(),
                HostName = _webHelperService.GetRequestHost()
            });
        }
Beispiel #2
0
 public UrlParameters GetCreatePostUrlParameters(long postId, int?page)
 {
     return(new UrlParameters
     {
         ActionName = "thread",
         ControllerName = null,
         RouteValues = new { page = page, postId = postId },
         Protocol = _webHelperService.GetRequestScheme(),
         HostName = _webHelperService.GetRequestHost()
     });
 }