Пример #1
0
        public override Task <bool> ProcessRule(Enrollee enrollee)
        {
            if (enrollee.Agreements == null)
            {
                return(Task.FromResult(false));
            }

            return(Task.FromResult(enrollee.HasLatestAgreement()));
        }