21 lines
533 B
C#
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);
|
|
}
|
|
}
|