public Policy Save(Guid id, Policy policy)
        {
            Policy result   = null;
            var    existing = policyRepository.Retrieve(id);

            if (existing == null)
            {
                result = policyRepository.Create(policy);
            }
            else
            {
                result = policyRepository.Update(id, policy);
            }
            return(result);
        }
        public async Task <Domain.Policy> Create(Policy policy)
        {
            var policyResult = await _policyRepository.Create(_mapper.Map <PolicyEntity>(policy));

            return(_mapper.Map <Domain.Policy>(policyResult));
        }