Ejemplo n.º 1
0
        ///<summary>
        ///pos_items
        /// </summary>
        ///
        public virtual SP_pos_items_SelectAllResult GetPosItemsDetail(clsposItems obj)
        {
            SP_pos_items_SelectAllResult objResult = new SP_pos_items_SelectAllResult();

            try
            {
                objResult = (SP_pos_items_SelectAllResult)db.SP_pos_items_SelectAll();
            }
            catch (Exception ex)
            {
                LoggerFactory.LoggerInstance.LogException(ex);
                throw ex;
            }
            return(objResult);
        }
Ejemplo n.º 2
0
        ///<summary>
        ///pos_items
        /// </summary>
        ///

        public string GetPosItemsDetail(clsposItems obj)
        {
            string result = "";

            try
            {
                pos_items_Entity             objEntities = new pos_items_Entity();
                SP_pos_items_SelectAllResult objResult   = new SP_pos_items_SelectAllResult();
                objResult = objEntities.GetPosItemsDetail(obj);
                result    = objResult.ToJSON();
            }
            catch (Exception ex)
            {
                LoggerFactory.LoggerInstance.LogException(ex);
            }
            finally
            {
                LoggerFactory.LoggerInstance.LogDebug("Response Value : " + result);
            }
            return(result);
        }