Exemplo n.º 1
0
        ///<summary>
        ///PageMaster
        /// </summary>
        ///

        public virtual SP_PageMaster_SelectAllResult GetPageMasterDetail(clsPageMaster obj)
        {
            SP_PageMaster_SelectAllResult objResult = new SP_PageMaster_SelectAllResult();

            try
            {
                objResult = (SP_PageMaster_SelectAllResult)db.SP_PageMaster_SelectAll();
            }
            catch (Exception ex)
            {
                LoggerFactory.LoggerInstance.LogException(ex);
                throw ex;
            }
            return(objResult);
        }
Exemplo n.º 2
0
        ///<summary>
        ///PageMaster
        /// </summary>
        ///

        public string GetPageMasterDetail(clsPageMaster obj)
        {
            string result = "";

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