/// <summary>
        /// Adds the referral type in the context to the data store.
        /// </summary>
        /// <returns>
        /// The ResultCode corresponding to the result of the operation.
        /// </returns>
        protected ResultCode AddReferralType()
        {
            ResultCode result = ResultCode.Created;

            Context.Log.Verbose("Adding user referral type to the data store.");
            result = ReferralOperations.AddReferralType();
            if (result == ResultCode.Created)
            {
                Context.Log.Verbose("User referral type added to the data store.");
            }

            return(result);
        }