Example #1
0
        public Policy GetById(PolicyId policyId)
        {
            var policy = Single(p => p.Id == policyId);

            policyConfigurator.Config(policy);
            return(policy);
        }
Example #2
0
        public Policy GetById(PolicyId policyId)
        {
            var policy = rep.FindByKey(policyId);

            policyConfigurator.Config(policy);
            return(policy);
        }