MobilUser lekérdezése
This commit is contained in:
@@ -68,7 +68,10 @@ namespace WorkFlowCheck.BL.Services
|
||||
};
|
||||
try
|
||||
{
|
||||
var users = await _dbContext.Users.ToListAsync();
|
||||
var users = await _dbContext.Users
|
||||
.Include(i => i.UserRoles)
|
||||
.ThenInclude(i => i.Role)
|
||||
.ToListAsync();
|
||||
if (users != null)
|
||||
{
|
||||
retVal = _mapper.Map<List<UserDTO>>(users);
|
||||
|
||||
Reference in New Issue
Block a user