user's roles, claims, and logins
This commit is contained in:
parent
cc04eaed65
commit
1e4f2c3fd7
1 changed files with 1 additions and 1 deletions
|
|
@ -23,7 +23,7 @@ namespace Yavsc.Controllers
|
||||||
[HttpGet]
|
[HttpGet]
|
||||||
public IEnumerable<ApplicationUser> GetApplicationUser()
|
public IEnumerable<ApplicationUser> GetApplicationUser()
|
||||||
{
|
{
|
||||||
return _context.Users;
|
return _context.Users.Include(u=>u.Roles).Include(u=>u.Logins).Include(u=>u.Claims);
|
||||||
}
|
}
|
||||||
|
|
||||||
// GET: api/ApplicationUserApi/5
|
// GET: api/ApplicationUserApi/5
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue