Ejemplo n.º 1
0
        public string GetModuleMasterDetailById(clsModuleMaster obj)
        {
            string result = "";

            try
            {
                ModuleMaster_Entity             objEntities = new ModuleMaster_Entity();
                SP_ModuleMaster_SelectOneResult objResult   = new SP_ModuleMaster_SelectOneResult();
                objResult = objEntities.GetModuleMasterDetailById(obj);
                result    = objResult.ToJSON();
            }
            catch (Exception ex)
            {
                LoggerFactory.LoggerInstance.LogException(ex);
            }
            finally
            {
                LoggerFactory.LoggerInstance.LogDebug("Response Value : " + result);
            }
            return(result);
        }
Ejemplo n.º 2
0
        public string UpdateModuleMaster(clsModuleMaster obj)
        {
            string result = "";

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