public async System.Threading.Tasks.Task GetPaymentHistorysForInvoice(int invoiceInvoiceId) { InvoiceInvoiceId = invoiceInvoiceId; var PaymentHistorys = new PaymentHistoryViews(); var temp = await PaymentHistorys.GetAllForInvoice(invoiceInvoiceId); PaymentHistoryViews.Clear(); foreach (var paymentHistoryView in temp) { PaymentHistoryViews.Add(paymentHistoryView); } }
public async Task Load(int paymentHistoryId) { var uv = new PaymentHistoryViews(); this.PaymentHistoryView = await uv.Get(paymentHistoryId); }