Example #1
0
        public string ProcessClaim(InsuranceClaim claim)
        {
            if (claim.ClaimAmount > 10000)
            {
                return("Please call your agent.");
            }

            return("Your claim is being processed.");
        }
Example #2
0
        public bool IsClaimValid(InsuranceClaim claim)
        {
            if ((DateTime.Now - claim.DateOfIncident).Days < 30)
            {
                return(true);
            }

            return(false);
        }