From a5e78844ea7f6781f75240653517a594818470f9 Mon Sep 17 00:00:00 2001 From: Paul Schneider Date: Wed, 1 Feb 2017 03:51:19 +0100 Subject: [PATCH] user's roles, claims, and logins --- Yavsc/ApiControllers/ApplicationUserApiController.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Yavsc/ApiControllers/ApplicationUserApiController.cs b/Yavsc/ApiControllers/ApplicationUserApiController.cs index 9136a9d0..6ab29293 100644 --- a/Yavsc/ApiControllers/ApplicationUserApiController.cs +++ b/Yavsc/ApiControllers/ApplicationUserApiController.cs @@ -23,7 +23,7 @@ namespace Yavsc.Controllers [HttpGet] public IEnumerable GetApplicationUser() { - return _context.Users; + return _context.Users.Include(u=>u.Roles).Include(u=>u.Logins).Include(u=>u.Claims); } // GET: api/ApplicationUserApi/5