Esempio n. 1
0
 public List <AEDrawPayment> GetAEDrawPayments(string aeId, int companyId)
 {
     try
     {
         return(AEDrawPayment.GetAEDrawPayments(aeId, companyId));
     }
     catch (Exception ex)
     {
         WebCommon.LogExceptionInfo(ex);
         throw new Exception("An error occurred while trying to retrieve the Draw/Payment data.");
     }
 }
Esempio n. 2
0
 public void AddAEDrawPaymentRecord(AEDrawPayment aeDrawPayment)
 {
     try
     {
         aeDrawPayment.Save();
     }
     catch (Exception ex)
     {
         WebCommon.LogExceptionInfo(ex);
         throw new Exception("An error occurred while trying to retrieve the Draw/Payment record.");
     }
 }
Esempio n. 3
0
 public void DeleteAEDrawPaymentRecord(int aeDrawPaymentId)
 {
     try
     {
         AEDrawPayment.DeleteRecord(aeDrawPaymentId);
     }
     catch (Exception ex)
     {
         WebCommon.LogExceptionInfo(ex);
         throw new Exception("An error occurred while trying to delete the Draw/Payment record.");
     }
 }