Example #1
0
        public List <sp_web_ListCurrentOpportunityStatusesResult> ListCurrentOpportunityStatuses(int opportunityID)
        {
            bizMessage biz = new bizMessage();

            try
            {
                enGageDataContext db = new enGageDataContext();
                var query            = db.sp_web_ListCurrentOpportunityStatuses(opportunityID);
                return(query.ToList());
            }
            catch (Exception ex)
            {
                this.MSGS.AddMessage(biz.GetMessageText("Exception"), Enums.enMsgType.Err);
                bizLog.InsertExceptionLog(ex);
                return(null);
            }
        }