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