Beispiel #1
0
        public string GetOfficeBranchSalesDetailById(clsofficeBanchSales obj)
        {
            string result = "";

            try
            {
                office_branch_sales_Entity objEntities = new office_branch_sales_Entity();
                List <SP_office_branch_sales_SelectOneResult> objResult = new List <SP_office_branch_sales_SelectOneResult>();
                objResult = objEntities.GetOfficeBranchSalesDetailById(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 UpdateOfficeBranchSales(clsofficeBanchSales obj)
        {
            string result = "";

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