Example #1
0
        public async Task <IActionResult> GetAllMyAuthorizedSecurityRoles()
        {
            _userContext.UserId.NullArgumentCheck(nameof(_userContext.UserId));

            var authorizedCarrierScacs = await _userAdminService.GetAvailableSecurityRoles(_userContext.UserId.Value);

            return(Success(authorizedCarrierScacs));
        }