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

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