Interface IInvoiceStorageFoundationService
- Assembly
- arolariu.Backend.Domain.Invoices.dll
The invoice storage foundation service interface represents the foundation storage service for the invoice domain.
public interface IInvoiceStorageFoundationService
Methods
CreateInvoiceObject(Invoice)
Creates an invoice object.
Task<Invoice> CreateInvoiceObject(Invoice invoice)
Parameters
invoice
Invoice
Returns
DeleteInvoiceObject(Guid)
Deletes an invoice object.
Task DeleteInvoiceObject(Guid identifier)
Parameters
identifier
Guid
Returns
DeleteInvoiceObject(Guid, Guid)
Deletes an invoice object.
Task DeleteInvoiceObject(Guid identifier, Guid userIdentifier)
Parameters
Returns
ReadAllInvoiceObjects()
Reads all invoice objects.
Task<IEnumerable<Invoice>> ReadAllInvoiceObjects()
Returns
ReadAllInvoiceObjects(Guid)
Reads all invoice objects.
Task<IEnumerable<Invoice>> ReadAllInvoiceObjects(Guid userIdentifier)
Parameters
userIdentifier
Guid
Returns
ReadInvoiceObject(Guid)
Reads an invoice object.
Task<Invoice> ReadInvoiceObject(Guid identifier)
Parameters
identifier
Guid
Returns
ReadInvoiceObject(Guid, Guid)
Reads an invoice object.
Task<Invoice> ReadInvoiceObject(Guid identifier, Guid userIdentifier)
Parameters
Returns
UpdateInvoiceObject(Guid, Invoice)
Updates an invoice object.
Task<Invoice> UpdateInvoiceObject(Guid invoiceIdentifier, Invoice updatedInvoice)
Parameters
Returns
UpdateInvoiceObject(Invoice, Invoice)
Updates an invoice object.
Task<Invoice> UpdateInvoiceObject(Invoice currentInvoice, Invoice updatedInvoice)