diff options
Diffstat (limited to 'src/app/Cmpp298.Assignment3.Task/IInvoiceTask.cs')
| -rw-r--r-- | src/app/Cmpp298.Assignment3.Task/IInvoiceTask.cs | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/src/app/Cmpp298.Assignment3.Task/IInvoiceTask.cs b/src/app/Cmpp298.Assignment3.Task/IInvoiceTask.cs new file mode 100644 index 0000000..43d6244 --- /dev/null +++ b/src/app/Cmpp298.Assignment3.Task/IInvoiceTask.cs @@ -0,0 +1,12 @@ +using System.Collections.Generic;
+using Cmpp298.Assignment3.Dto;
+
+namespace Cmpp298.Assignment3.Task {
+ public interface IInvoiceTask {
+ int SaveNewInvoice( SaveInvoiceDto saveInvoiceDto );
+ IEnumerable< DisplayInvoiceDto > GetAllInvoices( string forVendorId );
+ DisplayInvoiceDto GetInvoiceBy(string invoiceId);
+ void DeleteInvoice( string invoiceId );
+ void UpdateInvoice( UpdateInvoiceDto dto );
+ }
+}
\ No newline at end of file |
