summaryrefslogtreecommitdiff
path: root/src/app/Cmpp298.Assignment3.Task/IInvoiceTask.cs
diff options
context:
space:
mode:
Diffstat (limited to 'src/app/Cmpp298.Assignment3.Task/IInvoiceTask.cs')
-rw-r--r--src/app/Cmpp298.Assignment3.Task/IInvoiceTask.cs12
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