public async Task <IActionResult> GetAsync(Guid alertDefinitionId)
        {
            var alertDefinition = await _alertDefinitionsService.GetAlertDefinitionAsync(alertDefinitionId);

            HttpContext.User.GuardIsAuthorizedForAppUserId(alertDefinition.AppUserId);

            var resource = _mapper.Map <Resources.Model.AlertDefinition>(alertDefinition);

            return(new OkObjectResult(resource));
        }