public static IEnumerable<DAL.DirectDebitList> DirectDebitRecordList(String PropertyID, String OwnerID, String ConsumerID) { try { IRecordList3 objtext = new BALDirectDebit(); IEnumerable<DAL.DirectDebitList> listRecord = (IEnumerable<DAL.DirectDebitList>)objtext.RecordList(PropertyID, OwnerID, ConsumerID); return listRecord; } catch (Exception ex) { throw; } }
public static bool UpdateDirectDebit(DirectDebitClass debit) { Boolean flag = false; try { Icontext objinter = new BALDirectDebit(); flag = objinter.UpdateRecord(debit); } catch (Exception ex) { throw; } return flag; }
public static DAL.DirectDebitList ViewDirectDebit(String ID) { try { Icontext objinter = new BALDirectDebit(); DAL.DirectDebitList Viuewobj = (DAL.DirectDebitList)objinter.ViewRecord(Convert.ToInt64(ID)); return Viuewobj; } catch (Exception ex) { throw; } }
public static Boolean IsApprovedDirectDebit(DirectDebitClass debit) { Boolean flag = false; try { IsApproved objtext = new BALDirectDebit(); flag = objtext.IsApprovedRecord(debit); } catch (Exception ex) { throw; } return flag; }
public static IEnumerable<DAL.DirectDebitList> GetDirectDebitRecordList() { try { Icontext objtext = new BALDirectDebit(); IEnumerable<DAL.DirectDebitList> listRecord = (IEnumerable<DAL.DirectDebitList>)objtext.RecordList(); return listRecord; } catch (Exception ex) { throw; } }
public static DirectDebitClass EditDirectDebit(String DebitID) { try { Icontext objinter = new BALDirectDebit(); DirectDebitClass client = (DirectDebitClass)objinter.EditRecord(Convert.ToInt64(DebitID)); return client; } catch (Exception ex) { throw; } }
public static List<SelectListItem> DirectDebitConsumerDropDownList(String ConsumerType, String clientID) { try { IDropDownList2 sobj = new BALDirectDebit(); List<SelectListItem> lstsearchField = sobj.DropDownList(ConsumerType, clientID); return lstsearchField; } catch (Exception ex) { throw; } }
public static Boolean AddDirectDebit(DirectDebitClass debit) { Boolean flag = false; try { IRecordInsert objtext = new BALDirectDebit(); flag = objtext.AddRecord(debit); } catch (Exception ex) { throw; } return flag; }