Esempio n. 1
0
        public async Task <viewModel.PaymentHistoryView> Get([FromRoute] int paymentHistoryId)
        {
            var view = new views.PaymentHistoryViews();

            return(await view.Get(paymentHistoryId));
        }
Esempio n. 2
0
        public async Task <List <viewModel.PaymentHistoryView> > GetPaymentHistorysForInvoice([FromRoute] int invoiceId)
        {
            var view = new views.PaymentHistoryViews();

            return(await view.GetPaymentHistorysForInvoice(invoiceId));
        }
Esempio n. 3
0
        public async Task <List <viewModel.PaymentHistoryView> > All()
        {
            var views = new views.PaymentHistoryViews();

            return(await views.GetAll());
        }