public Task SaveAsync(SaveInvoiceInput input) { return(_invoiceStore.SaveAsync(input)); }
public async Task SaveAsync(SaveInvoiceInput input) { await _context.MapAsync <Invoice>(input); await _context.SaveChangesAsync(); }
public async Task <ActionResult> SaveAsync([FromBody] SaveInvoiceInput input) { await _invoiceService.SaveAsync(input); return(Ok()); }