public string ProcessClaim(InsuranceClaim claim) { if (claim.ClaimAmount > 10000) { return("Please call your agent."); } return("Your claim is being processed."); }
public bool IsClaimValid(InsuranceClaim claim) { if ((DateTime.Now - claim.DateOfIncident).Days < 30) { return(true); } return(false); }