15 lines
398 B
C#
15 lines
398 B
C#
using IcecreamVan.DataModels;
|
|
|
|
namespace IcecreamVan.StoragesContracts;
|
|
|
|
public interface ISaleContract
|
|
{
|
|
List<SaleDataModel> GetList(DateTime? startD = null, DateTime? endD = null, string? workerID = null, string? buyerID = null, string? productID = null);
|
|
|
|
SaleDataModel? GetElementById(string id);
|
|
|
|
void AddElement(SaleDataModel saleDataModel);
|
|
|
|
void DelElement(string id);
|
|
}
|