Esempio n. 1
0
        public async Task <IActionResult> FindRetentionPolicies([FromBody] FindRetentionPoliciesRequest request)
        {
            try
            {
                var matchingPolicies = await _hiarcDatabase.FindRetentionPolicies(request);

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