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.");
     }
 }
 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.");
     }
 }
 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.");
     }
 }