Exemplo n.º 1
0
 public static Boolean UpdatePayment(PaymentClass payment)
 {
     Boolean flag = false;
     try
     {
         IUpdate objinter = new BALPayment();
         flag = objinter.UpdateRecord(payment);
     }
     catch (Exception ex)
     {
         throw;
     }
     return flag;
 }
Exemplo n.º 2
0
 public static IEnumerable<DAL.PaymentList> PaymentRecordList(String ConsumerId, String ConsumerType, String PaymentDate)
 {
     try
     {
         IListView objtext = new BALPayment();
         IEnumerable<DAL.PaymentList> listRecord = (IEnumerable<DAL.PaymentList>)objtext.RecordList(ConsumerId, ConsumerType, PaymentDate);
         return listRecord;
     }
     catch (Exception ex)
     {
         throw;
     }
 }
Exemplo n.º 3
0
 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;
     }
 }
Exemplo n.º 4
0
 public static PaymentClass EditPayment(String PaymentID)
 {
     try
     {
         IRecordEdit objinter = new BALPayment();
         PaymentClass Payment = (PaymentClass)objinter.EditRecord(Convert.ToInt64(PaymentID));
         return Payment;
     }
     catch (Exception ex)
     {
         throw;
     }
 }
Exemplo n.º 5
0
 public static Boolean CreatePayment(PaymentClass payment)
 {
     Boolean flag = false;
     try
     {
         IRecordInsert objtext = new BALPayment();
         flag = objtext.AddRecord(payment);
     }
     catch (Exception ex)
     {
         throw;
     }
     return flag;
 }
Exemplo n.º 6
0
 public static IEnumerable<DAL.PaymentList> AccountRecordList(String PropertyID, String OwnerID, String ConsumerID, String ConsumerType)
 {
     try
        {
        IListView4 objtext = new BALPayment();
        IEnumerable<DAL.PaymentList> listRecord = (IEnumerable<DAL.PaymentList>)objtext.RecordList(PropertyID, OwnerID, ConsumerID, ConsumerType);
        return listRecord;
        }
        catch (Exception ex)
        {
        throw;
        }
 }