///<summary>
        ///posbillcount
        /// </summary>
        ///
        public virtual SP_posbillcount_SelectAllResult GetPosBillCountDetail(clsposbillcount obj)
        {
            SP_posbillcount_SelectAllResult objResult = new SP_posbillcount_SelectAllResult();

            try
            {
                objResult = (SP_posbillcount_SelectAllResult)db.SP_posbillcount_SelectAll();
            }
            catch (Exception ex)
            {
                LoggerFactory.LoggerInstance.LogException(ex);
                throw ex;
            }
            return(objResult);
        }
        ///<summary>
        ///posbillcount
        /// </summary>
        ///

        public string GetPosBillCountDetail(clsposbillcount obj)
        {
            string result = "";

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