diff --git a/Yi.Framework/Yi.Framework.ApiMicroservice/Controllers/UserController.cs b/Yi.Framework/Yi.Framework.ApiMicroservice/Controllers/UserController.cs index 62fc98df..dcd97f49 100644 --- a/Yi.Framework/Yi.Framework.ApiMicroservice/Controllers/UserController.cs +++ b/Yi.Framework/Yi.Framework.ApiMicroservice/Controllers/UserController.cs @@ -114,10 +114,13 @@ namespace Yi.Framework.ApiMicroservice.Controllers /// [HttpGet] public async Task GetRolesByUserId(int userId) +<<<<<<< Updated upstream <<<<<<< Updated upstream { var roleList = await _userService.GetRolesByUser(new user() { id=userId}); ======= +======= +>>>>>>> Stashed changes { var _user =await _userService.GetEntityById(userId); var roleList = await _userService.GetRolesByUser(_user);