Example #1
0
        //CRUD

        //CREATE NEW CLAIM
        public bool AddNewClaim(ClaimItems newClaim)
        {
            int startingCount = _claimDirectory.Count;

            _claimDirectory.Add(newClaim);
            bool wasAdded = (_claimDirectory.Count > startingCount) ? true : false;

            return(wasAdded);
        }
Example #2
0
        //DELETE CLAIM
        public bool RemoveClaim(ClaimItems claimId)
        {
            bool deleteResult = _claimDirectory.Remove(claimId);

            return(deleteResult);
        }