source: StockMaster/Services/ISaleService.cs

main
Last change on this file was dfe03b8, checked in by Ceyda <ceyda.huseini@…>, 2 days ago

Initialize StockMaster project

  • Property mode set to 100644
File size: 427 bytes
Line 
1using System;
2using System.Collections.Generic;
3using System.Threading.Tasks;
4using StockMaster.Models;
5
6namespace 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.