public async Task <AlertGroup> Edit(AlertGroup model)
        {
            var updateResult = await _alertGroupRepository.Update(model);

            if (updateResult)
            {
                return(await _alertGroupRepository.Read(model.Id));
            }

            return(model);
        }