Esempio n. 1
0
 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;
        }
 }
Esempio n. 2
0
 public static bool UpdateDirectDebit(DirectDebitClass debit)
 {
     Boolean flag = false;
        try
        {
        Icontext objinter = new BALDirectDebit();
        flag = objinter.UpdateRecord(debit);
        }
        catch (Exception ex)
        {
        throw;
        }
        return flag;
 }
Esempio n. 3
0
 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;
        }
 }
Esempio n. 4
0
 public static Boolean IsApprovedDirectDebit(DirectDebitClass debit)
 {
     Boolean flag = false;
        try
        {
        IsApproved objtext = new BALDirectDebit();
        flag = objtext.IsApprovedRecord(debit);
        }
        catch (Exception ex)
        {
        throw;
        }
        return flag;
 }
Esempio n. 5
0
 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;
        }
 }
Esempio n. 6
0
 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;
        }
 }
Esempio n. 7
0
 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;
        }
 }
Esempio n. 8
0
 public static Boolean AddDirectDebit(DirectDebitClass debit)
 {
     Boolean flag = false;
        try
        {
        IRecordInsert objtext = new BALDirectDebit();
        flag = objtext.AddRecord(debit);
        }
        catch (Exception ex)
        {
        throw;
        }
        return flag;
 }