Exemplo n.º 1
0
        public async Task <IActionResult> GetListID()
        {
            string token = Request.Headers["Authorization"];
            var    ocID  = Extensions.GetDecodeTokenByProperty(token, "LevelId").ToInt();

            return(Ok(await _levelService.GetListID2(ocID)));
        }