Пример #1
0
        public async Task <IActionResult> Get(string key)
        {
            try
            {
                var theLegalHold = await _hiarcDatabase.GetLegalHold(key);

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