Exemplo n.º 1
0
        public static object UpdateBondMarket(SessionInfo sessioninfo, MA_BOND_MARKET record)
        {
            try
            {
                LookupBusiness _lookupbusiness = new LookupBusiness();
                record.LABEL       = record.LABEL.ToUpper();
                record.DESCRIPTION = record.DESCRIPTION.ToUpper();

                var updated = _lookupbusiness.UpdateBondMarket(sessioninfo, record);
                return(new { Result = "OK" });
            }
            catch (Exception ex)
            {
                return(new { Result = "ERROR", Message = ex.Message });
            }
        }
Exemplo n.º 2
0
        public static object UpdateBondMarket(SessionInfo sessioninfo, MA_BOND_MARKET record)
        {
            try
            {
                LookupBusiness _lookupbusiness = new LookupBusiness();
                record.LABEL = record.LABEL.ToUpper();
                record.DESCRIPTION = record.DESCRIPTION.ToUpper();

                var updated = _lookupbusiness.UpdateBondMarket(sessioninfo, record);
                return new { Result = "OK" };
            }
            catch (Exception ex)
            {
                return new { Result = "ERROR", Message = ex.Message };
            }
        }