示例#1
0
        public IActionResult GetCertificates()
        {
            IActionResult result   = null;
            string        rootUrl  = Request.GetRootUrl();
            Certificates  response = new Certificates();

            response.AddLink("add", string.Concat(rootUrl, "/identities/certificates"), null);
            result = Request.GetObjectResult(response);
            return(result);
        }
 public IActionResult GetCertificates()
 {
     IActionResult result = null;
     string rootUrl = Request.GetRootUrl();
     Certificates response = new Certificates();
     response.AddLink("add", string.Concat(rootUrl, "/identities/certificates"), null);
     result = Request.GetObjectResult(response);
     return result;
 }