예제 #1
0
        public string GetPosBillCountDetailById(clsposbillcount obj)
        {
            string result = "";

            try
            {
                posbillcount_Entity             objEntities = new posbillcount_Entity();
                SP_posbillcount_SelectOneResult objResult   = new SP_posbillcount_SelectOneResult();
                objResult = objEntities.GetPosBillCountDetailById(obj);
                result    = objResult.ToJSON();
            }
            catch (Exception ex)
            {
                LoggerFactory.LoggerInstance.LogException(ex);
            }
            finally
            {
                LoggerFactory.LoggerInstance.LogDebug("Response Value : " + result);
            }
            return(result);
        }
예제 #2
0
        public string UpdatePosBillCount(clsposbillcount obj)
        {
            string result = "";

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