public static Boolean UpdatePayment(PaymentClass payment) { Boolean flag = false; try { IUpdate objinter = new BALPayment(); flag = objinter.UpdateRecord(payment); } catch (Exception ex) { throw; } return flag; }