Esempio n. 1
0
        [AllowAnonymous]   // will check security internally, so assume no requirements
        public IActionResult Resolve(string hyperlink, int appId, string contentType = default, Guid guid = default, string field = default)
        {
            var result = _hyperlinkBackend.Init(Log)
                         .ResolveHyperlink(appId, hyperlink, contentType, guid, field);

            return(Json(result));
        }
Esempio n. 2
0
 [AllowAnonymous]   // will check security internally, so assume no requirements
 public string ResolveHyperlink(string hyperlink, int appId, string contentType = default, Guid guid = default, string field = default)
 => _hyperlinkBackend.Init(Log).ResolveHyperlink(appId, hyperlink, contentType, guid, field);