Пример #1
0
        public SessionProposalEvaluationsModel Edit(int sessionProposalEvaluationId, string evaluationNote)
        {
            SessionProposalEvaluationsModel evl = APIUtil.GetSessionProposalEvaluation(USISDKClient, sessionProposalEvaluationId);

            evl.Note = evaluationNote;

            return(APIUtil.UpdateSessionProposalEvaluation(USISDKClient, evl));
        }
Пример #2
0
        /// <summary>
        /// Edit example
        /// </summary>
        public SessionProposalEvaluationsModel EditAdvanced(int sessionProposalEvaluationId)
        {
            SessionProposalEvaluationsModel evl = APIUtil.GetSessionProposalEvaluation(USISDKClient, sessionProposalEvaluationId);

            evl.Note     = "Looks Good";
            evl.Complete = true;  // True if all criteria for the session proposal has been responded to by the evaluator, otherwise False
            evl.Skip     = false; // True if the evaluator does not want to evaluate the session proposal.

            return(APIUtil.UpdateSessionProposalEvaluation(USISDKClient, evl));
        }
Пример #3
0
        /// <summary>
        /// A basic add example
        /// </summary>
        /// <param name="eventRoundEvaluatorID"></param>
        /// <param name="eventRoundSessionProposalID"></param>
        /// <param name="complete">True if all criteria for the session proposal has been responded to by the evaluator, otherwise False</param>
        /// <param name="note">Any extra note text entered by the evaluator pertaining to the evaluation of the session proposal.</param>
        /// <param name="skip">True if the evaluator does not want to evaluate the session proposal.</param>
        /// <returns></returns>
        public SessionProposalEvaluationsModel Add(int eventRoundEvaluatorID, int eventRoundSessionProposalID, bool complete, string note, bool skip)
        {
            SessionProposalEvaluationsModel evl = new SessionProposalEvaluationsModel()
            {
                EventRoundEvaluatorID       = eventRoundEvaluatorID,
                EventRoundSessionProposalID = eventRoundSessionProposalID,
                Complete = complete,
                Note     = note,
                Skip     = skip
            };

            return(APIUtil.AddSessionProposalEvaluation(USISDKClient, evl));
        }