public static object SubmitSwapDeal(SessionInfo sessioninfo , DA_TRN trn , string strOverApprover , string strOverComment , string strProductId) { try { DealBusiness _dealBusiness = new DealBusiness(); string strDealNO = _dealBusiness.SubmitSwapDeal(sessioninfo , trn , strOverApprover , strOverComment , strProductId); return(new { Result = "OK", Message = strDealNO }); } catch (Exception ex) { return(new { Result = "ERROR", Message = ex.Message }); } }