CourseWork_CarCenter/CarCenter/CarCenterContracts/BusinessLogicsContracts/IPreSaleWorkLogic.cs
2024-04-28 16:00:22 +04:00

18 lines
642 B
C#

using CarCenterContracts.BindingModels;
using CarCenterContracts.SearchModels;
using CarCenterContracts.ViewModels;
using CarCenterDataModels.Models;
namespace CarCenterContracts.BusinessLogicsContracts
{
public interface IPreSaleWorkLogic
{
List<PreSaleWorkModel>? ReadList(PreSaleWorkSearchModel? model);
PreSaleWorkModel? ReadElement(PreSaleWorkSearchModel model);
bool AddSaleToPreSaleWork(PreSaleWorkSearchModel model, ISaleModel Sale);
bool Create(PreSaleWorkBindingModel model);
bool Update(PreSaleWorkBindingModel model);
bool Delete(PreSaleWorkBindingModel model);
}
}