コード例 #1
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);
        }
コード例 #2
0
        public string UpdateSMSLogsMaster(clssmslogs obj)
        {
            string result = "";

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