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

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

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