2024-04-28 16:00:22 +04:00
|
|
|
|
using CarCenterContracts.BindingModels;
|
|
|
|
|
using CarCenterContracts.SearchModels;
|
|
|
|
|
using CarCenterContracts.ViewModels;
|
|
|
|
|
using CarCenterDataModels.Models;
|
|
|
|
|
|
|
|
|
|
namespace CarCenterContracts.BusinessLogicsContracts
|
|
|
|
|
{
|
|
|
|
|
public interface IPreSaleWorkLogic
|
|
|
|
|
{
|
2024-04-28 21:13:12 +04:00
|
|
|
|
List<PreSaleWorkViewModel>? ReadList(PreSaleWorkSearchModel? model);
|
|
|
|
|
PreSaleWorkViewModel? ReadElement(PreSaleWorkSearchModel model);
|
2024-04-28 16:00:22 +04:00
|
|
|
|
bool AddSaleToPreSaleWork(PreSaleWorkSearchModel model, ISaleModel Sale);
|
|
|
|
|
bool Create(PreSaleWorkBindingModel model);
|
|
|
|
|
bool Update(PreSaleWorkBindingModel model);
|
|
|
|
|
bool Delete(PreSaleWorkBindingModel model);
|
|
|
|
|
}
|
|
|
|
|
}
|