20 lines
554 B
C#
20 lines
554 B
C#
using CandyHouseContracts.DataModels;
|
|
using System;
|
|
using System.Collections.Generic;
|
|
using System.Linq;
|
|
using System.Text;
|
|
using System.Threading.Tasks;
|
|
|
|
namespace CandyHouseContracts.StoragesContracts;
|
|
|
|
public interface ISaleStorageContract
|
|
{
|
|
List<SaleDataModel> GetList(DateTime? startDate = null, DateTime? endDate = null, string? employeeId = null,
|
|
string? clientId = null, string? productId = null);
|
|
|
|
SaleDataModel? GetElementById(string id);
|
|
|
|
void AddElement(SaleDataModel saleDataModel);
|
|
|
|
void DelElement(string id);
|
|
} |