source:
StockMaster/Services/ISaleService.cs
| Last change on this file was dfe03b8, checked in by , 2 days ago | |
|---|---|
|
|
| File size: 427 bytes | |
| Line | |
|---|---|
| 1 | using System; |
| 2 | using System.Collections.Generic; |
| 3 | using System.Threading.Tasks; |
| 4 | using StockMaster.Models; |
| 5 | |
| 6 | namespace StockMaster.Services |
| 7 | { |
| 8 | public interface ISaleService |
| 9 | { |
| 10 | Task<List<Sale>> GetAllSalesAsync(); |
| 11 | Task<Sale> GetSaleByIdAsync(int id); |
| 12 | Task<bool> CreateSaleAsync(Sale sale); |
| 13 | Task<decimal> GetTotalSalesAmountAsync(DateTime? startDate = null, DateTime? endDate = null); |
| 14 | } |
| 15 | } |
Note:
See TracBrowser
for help on using the repository browser.
