Esempio n. 1
0
        public string GetPageMasterDetailById(clsPageMaster obj)
        {
            string result = "";

            try
            {
                PageMaster_Entity             objEntities = new PageMaster_Entity();
                SP_PageMaster_SelectOneResult objResult   = new SP_PageMaster_SelectOneResult();
                objResult = objEntities.GetPageMasterDetailById(obj);
                result    = objResult.ToJSON();
            }
            catch (Exception ex)
            {
                LoggerFactory.LoggerInstance.LogException(ex);
            }
            finally
            {
                LoggerFactory.LoggerInstance.LogDebug("Response Value : " + result);
            }
            return(result);
        }
Esempio n. 2
0
        public string UpdatePageMaster(clsPageMaster obj)
        {
            string result = "";

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