Exemple #1
0
        public async Task <Invoice> GetByIdAsync(int id, CancellationToken ct = default)
        {
            var invoice = await _context.GetInvoiceAsync(id);

            return(invoice.First());
        }
 public async Task <Invoice> GetByIdAsync(int id, CancellationToken ct = default(CancellationToken))
 {
     return(_context.GetInvoiceAsync(id).Result.First());
 }