Esempio n. 1
0
 public List <Payment> GetAllPayments()
 {
     try
     {
         return(paymentDB.GetAllPaymentsDB());
     }
     catch
     {
         throw new Exception("Couldn't connect to the database");
     }
 }