コード例 #1
0
        public SelectSMSEmailSettingIdResponse SelectRecord(SelectSMSEmailSettingIDRequest objRequest)
        {
            SelectSMSEmailSettingIdResponse objResponse = null;

            try
            {
                BaseScheduledSMSEmailSettingDAL objDAL = this.MyDal.GetDalRepository().GetScheduledSMSEmailSettingDAL();
                objResponse = (SelectSMSEmailSettingIdResponse)objDAL.SelectRecord(objRequest);
            }
            catch (Exception ex)
            {
                objResponse = new SelectSMSEmailSettingIdResponse();
                objResponse.DisplayMessage   = CommonStrings.RetrievalErrorMessage.Replace("{}", "SMS Email Setting");
                objResponse.ExceptionMessage = ex.Message;
                objResponse.StackTrace       = ex.StackTrace;

                this.SetLogger(this.GetLogger());
                this.WriteToLog(ex.Message + Environment.NewLine + ex.StackTrace);
            }
            return(objResponse);
        }