SUBD_PIbd-23_ZakharovRA/CarShowroom/CarShowroomContracts/BusinessLogic/ISaleLogic.cs
2024-05-05 22:02:53 +04:00

21 lines
533 B
C#

using CarShowroomDataModels.Dtos;
using CarShowroomDataModels.SearchModel;
using CarShowroomDataModels.Views;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace CarShowroomContracts.BusinessLogic
{
public interface ISaleLogic
{
List<SaleView>? ReadList(SaleSearch? model);
SaleView? ReadElement(SaleSearch model);
bool Create(SaleDto model);
bool Update(SaleDto model);
bool Delete(SaleDto model);
}
}