Exemple #1
0
        public string GetPartyDetailById(clsParty obj)
        {
            string result = "";

            try
            {
                Party_Entity objEntities = new Party_Entity();
                List <SP_Party_SelectOneResult> objResult = new List <SP_Party_SelectOneResult>();
                objResult = objEntities.GetPartyDetailById(obj);
                result    = objResult.ToJSON();
            }
            catch (Exception ex)
            {
                LoggerFactory.LoggerInstance.LogException(ex);
            }
            finally
            {
                LoggerFactory.LoggerInstance.LogDebug("Response Value : " + result);
            }
            return(result);
        }
Exemple #2
0
        public string UpdateParty(clsParty obj)
        {
            string result = "";

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