//update
        public bool UpdateClaimData(int originalClaimID, ClaimContent newClaimContent)
        {
            ClaimContent oldClaimContent = GetClaimById(originalClaimID);

            if (oldClaimContent != null)
            {
                oldClaimContent.ClaimID        = newClaimContent.ClaimID;
                oldClaimContent.ClaimType      = newClaimContent.ClaimType;
                oldClaimContent.Description    = newClaimContent.Description;
                oldClaimContent.ClaimAmount    = newClaimContent.ClaimAmount;
                oldClaimContent.DateOfIncident = newClaimContent.DateOfIncident;
                oldClaimContent.DateOfClaim    = newClaimContent.DateOfClaim;
                oldClaimContent.IsValid        = newClaimContent.IsValid;
                return(true);
            }
            else
            {
                return(false);
            }

            int initialCount = _claimContents.Count;

            _claimContents.Dequeue();

            if (initialCount > _claimContents.Count)
            {
                return(true);
            }
            else
            {
                return(false);
            }
        }
        //delete
        public bool RemoveClaimContent(int claimID)
        {
            ClaimContent claimContent = GetClaimById(claimID);

            if (claimContent == null)
            {
                return(false);
            }

            int initialCount = _claimContents.Count;

            _claimContents.Dequeue();

            if (initialCount > _claimContents.Count)
            {
                return(true);
            }
            else
            {
                return(false);
            }
        }
 //create
 public void AddClaim(ClaimContent content)
 {
     _claimContents.Enqueue(content);
 }