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