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 }); } }
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 }; } }