/// <summary>
        ///     Retrieves a collection of <see cref="!:LearnerModel" /> instances.
        /// </summary>
        /// <param name="delegateAddressId">
        ///     The value which identifies the <see cref="!:LearnerModel" /> instances to be returned.
        /// </param>
        /// <returns>
        ///     The <see cref="!:LearnerModel" /> instances that match the specified <paramref name="delegateAddressId" />.
        /// </returns>
        public static IEnumerable <Consensus.Learning.Learner> FetchAllByDelegateAddressId(System.String delegateAddressId)
        {
            ConsensusSite site = ConsensusDomain.Configuration[ConsensusDomain.Configuration.DefaultSite];

            return(Learner.FetchAllByDelegateAddressId(site, delegateAddressId));
        }
        public static System.String GetTableName()
        {
            ConsensusSite site = ConsensusDomain.Configuration[ConsensusDomain.Configuration.DefaultSite];

            return(Learner.GetTableName(site));
        }
        /// <summary>
        ///     Retrieves a collection of <see cref="!:LearnerModel" /> instances.
        /// </summary>
        /// <param name="memberPeriodId">
        ///     The value which identifies the <see cref="!:LearnerModel" /> instances to be returned.
        /// </param>
        /// <returns>
        ///     The <see cref="!:LearnerModel" /> instances that match the specified <paramref name="memberPeriodId" />.
        /// </returns>
        public static IEnumerable <Consensus.Learning.Learner> FetchAllByMemberPeriodId(System.String memberPeriodId)
        {
            ConsensusSite site = ConsensusDomain.Configuration[ConsensusDomain.Configuration.DefaultSite];

            return(Learner.FetchAllByMemberPeriodId(site, memberPeriodId));
        }
        /// <summary>
        ///     Retrieves a specific <see cref="!:LearnerModel" /> instance.
        /// </summary>
        /// <param name="id">
        ///     The unique value which distinctly identifies the <see cref="!:LearnerModel" /> instance to be returned.
        /// </param>
        /// <returns>
        ///     The <see cref="!:LearnerModel" /> instance that matches the specified <paramref name="id" />; or null, if no matching instance can be found.
        /// </returns>
        public static Consensus.Learning.Learner FetchById(System.String id)
        {
            ConsensusSite site = ConsensusDomain.Configuration[ConsensusDomain.Configuration.DefaultSite];

            return(Learner.FetchById(site, id));
        }
        /// <summary>
        ///     Retrieves all instances of the <see cref="!:LearnerModel" /> class.
        /// </summary>
        /// <returns>
        ///     An enumerable collection of <see cref="!:LearnerModel" /> instances.
        /// </returns>
        public static IEnumerable <Consensus.Learning.Learner> FetchAll()
        {
            ConsensusSite site = ConsensusDomain.Configuration[ConsensusDomain.Configuration.DefaultSite];

            return(Learner.FetchAll(site));
        }
        /// <summary>
        ///     Creates a new <see cref="!:LearnerModel" /> instance.
        /// </summary>
        /// <returns>
        ///     A newly instantiated <see cref="!:LearnerModel" /> instance.
        /// </returns>
        public static Consensus.Learning.Learner Create()
        {
            ConsensusSite site = ConsensusDomain.Configuration[ConsensusDomain.Configuration.DefaultSite];

            return(Learner.Create(site));
        }
        public static Consensus.Learning.Learner CancelBooking(System.String bookId, System.String userLoginId)
        {
            ConsensusSite site = ConsensusDomain.Configuration[ConsensusDomain.Configuration.DefaultSite];

            return(Learner.CancelBooking(site, bookId, userLoginId));
        }
        public static Consensus.Learning.Learner DelegatesToConfirm(System.String bookId, System.String approver)
        {
            ConsensusSite site = ConsensusDomain.Configuration[ConsensusDomain.Configuration.DefaultSite];

            return(Learner.DelegatesToConfirm(site, bookId, approver));
        }