Esempio n. 1
0
        public async Task <IActionResult> GetCurrentUserRoles()
        {
            var currentUser = new User(User.Claims);
            var results     = await _roleBusiness.GetUserRoles(currentUser);

            return(Ok(CommonResponse.Success(results)));
        }