public static PageAccessToken Create(TokenExpirationType expirationType, int expiryLimit, string emailTo, PageData currentPage)
         {
             string currentUrl = GetFullPageUrl(currentPage);

             return new PageAccessToken
                             {
                                 Created = DateTime.Now,
                                 ExpirationType = expirationType,
                                 UsageLimit = expiryLimit,
                                 LinkUrl = currentUrl,
                                 SentTo = emailTo,
                                 PageId = currentPage.PageLink.ID,
                                 WorkId = currentPage.PageLink.WorkID,
                                 LanguageBranch = currentPage.LanguageBranch,
                                 UsageCount = 0
                             };
         }
 public static PageAccessToken Create(TokenExpirationType expirationType, int expiryLimit, PageData currentPage)
 {
     return Create(expirationType, expiryLimit, "{system}", currentPage);
 }