public string Swift(Swift swift) { Trans tran = new Trans(); tran.Amount = swift.Payer_Amount; tran.From = swift.Payer_Account_Num; MysqlHelper mysqlhelper = new MysqlHelper(); var status1 = mysqlhelper.ChecktheAccount(ref tran); if (status1 != "success") return status1; var status = mysqlhelper.OverSeaTrans(swift); return status; }