示例#1
0
        //*********************************************************************
        ///
        /// <summary>
        ///     This method returns a list of ScriptJob type
        /// </summary>
        /// <param name="wapSubscriptionId"></param>
        /// <returns>list of ScriptJob</returns>
        ///
        //*********************************************************************

        public static List <ScriptJob> GetScriptJobList(string wapSubscriptionId)
        {
            try
            {
                var cdb = new CmpWapDb();
                return(Convert(cdb.FetchSequenceRequests(wapSubscriptionId)));
            }
            catch (Exception ex)
            {
                throw new Exception("ScriptInterface.GetScriptJobList() : " +
                                    Utilities.UnwindExceptionMessages(ex));
            }
        }