Esempio n. 1
0
        public async Task <IActionResult> Get()
        {
            try
            {
                var roles = await buzz.GetListRoles();

                return(Ok(roles));
            }
            catch (Exception ex)
            {
                return(BadRequest(JsonConvert.SerializeObject(ex)));
            }
        }