/// <summary>
        /// Removes the most recent logged start call and end call actions for a user, then replaces "View Claim" with "Review Claim"
        /// Used to show a user reviewed a claim and did not take any action on a claim.
        /// </summary>
        /// <param name="claimID"></param>
        /// <param name="LogText"></param>
        internal static void LogReview(int claimID, string LogText)
        {
            // Remove the reference to "start call" and change the action log entry of view claim to "review claim"
            // If no view claim is found just create a new one

            user_action_log ual = user_action_log.FindMostRecent(claimID, UserObject.id);

            ual.DeleteLastCall(claimID, UserObject.id);

            ual.action_id         = (int)ActionTypes.ReviewClaim;
            ual.additional_notes += "; " + LogText;

            ual.Save();
        }
        public static void LogAction(ActionTypes at, int ClaimID, int CallID, string AdditionalNotes)
        {
            user_action_log toInsert = new user_action_log();

            toInsert.user_id           = UserObject.id;
            toInsert.order_id          = toInsert.GetNextOrderID();
            toInsert.action_taken_time = DateTime.Now;
            toInsert.action_id         = (int)at;
            toInsert.additional_notes  = AdditionalNotes;

            if (ClaimID > 0)
            {
                toInsert.claim_id = ClaimID;
            }
            if (CallID > 0)
            {
                toInsert.call_id = CallID;
            }

            toInsert.Save();
        }