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 })); }