Beispiel #1
0
        ///<summary>
        ///groups
        /// </summary>
        ///

        public string GetgroupsDetail(clsgroups obj)
        {
            string result = "";

            try
            {
                groups_Entity objEntities = new groups_Entity();
                List <SP_groups_SelectAllResult> objResult = new List <SP_groups_SelectAllResult>();
                objResult = objEntities.GetgroupsDetail(obj);
                result    = objResult.ToJSON();
            }
            catch (Exception ex)
            {
                LoggerFactory.LoggerInstance.LogException(ex);
            }
            finally
            {
                LoggerFactory.LoggerInstance.LogDebug("Response Value : " + result);
            }
            return(result);
        }
Beispiel #2
0
        public string UpdateGroups(clsgroups obj)
        {
            string result = "";

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