コード例 #1
0
        public ActionResult <IEnumerable <string> > Get()
        {
            // another example of using the data service
            var roles = _policyService.GetRoles("app/identifier/client");

            return(new JsonResult(new {
                status = "Authorized",
                roles
            }));
        }