Beispiel #1
0
 public Task SaveAsync(SaveInvoiceInput input)
 {
     return(_invoiceStore.SaveAsync(input));
 }
Beispiel #2
0
        public async Task SaveAsync(SaveInvoiceInput input)
        {
            await _context.MapAsync <Invoice>(input);

            await _context.SaveChangesAsync();
        }
Beispiel #3
0
        public async Task <ActionResult> SaveAsync([FromBody] SaveInvoiceInput input)
        {
            await _invoiceService.SaveAsync(input);

            return(Ok());
        }