public static IEnumerable<DAL.PaymentList> PaymentDetailsRecordList() { try { IListRecord objtext = new BALPayment(); IEnumerable<DAL.PaymentList> listRecord = (IEnumerable<DAL.PaymentList>)objtext.ListRecord(); return listRecord; } catch (Exception ex) { throw; } }