Ejemplo n.º 1
0
        public async Task <IActionResult> GetAll()
        {
            try
            {
                var allUsers = await _hiarcDatabase.GetAllUsers();

                return(Ok(allUsers));
            }
            catch (Exception ex)
            {
                return(BuildErrorResponse(ex, _logger));
            }
        }