summaryrefslogtreecommitdiff
path: root/src/app/Cmpp298.Assignment3.Task/IInvoiceTask.cs
blob: 43d6244d20831649b63d5708cdb69b54188e9818 (plain)
1
2
3
4
5
6
7
8
9
10
11
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 );
	}
}