コード例 #1
0
        public virtual SP_sms_logs_SelectOneResult GetSMSLogsDetailById(clssmslogs obj)
        {
            SP_sms_logs_SelectOneResult objResult = new SP_sms_logs_SelectOneResult();

            try
            {
                objResult = (SP_sms_logs_SelectOneResult)db.SP_sms_logs_SelectOne(obj.SmsLogID);
            }
            catch (Exception ex)
            {
                LoggerFactory.LoggerInstance.LogException(ex);
                throw ex;
            }
            return(objResult);
        }
コード例 #2
0
        public string GetSMSLogsDetailById(clssmslogs obj)
        {
            string result = "";

            try
            {
                sms_logs_Entity             objEntities = new sms_logs_Entity();
                SP_sms_logs_SelectOneResult objResult   = new SP_sms_logs_SelectOneResult();
                objResult = objEntities.GetSMSLogsDetailById(obj);
                result    = objResult.ToJSON();
            }
            catch (Exception ex)
            {
                LoggerFactory.LoggerInstance.LogException(ex);
            }
            finally
            {
                LoggerFactory.LoggerInstance.LogDebug("Response Value : " + result);
            }
            return(result);
        }