2023-02-12 22:52:23 +04:00
|
|
|
|
using AutomobilePlantContracts.BindingModels;
|
|
|
|
|
using AutomobilePlantContracts.SearchModels;
|
|
|
|
|
using AutomobilePlantContracts.ViewModels;
|
|
|
|
|
using System;
|
2023-02-12 20:41:23 +04:00
|
|
|
|
using System.Collections.Generic;
|
|
|
|
|
using System.Linq;
|
|
|
|
|
using System.Text;
|
|
|
|
|
using System.Threading.Tasks;
|
|
|
|
|
|
|
|
|
|
namespace AutomobilePlantContracts.BusinessLogicContracts
|
|
|
|
|
{
|
2023-02-12 22:52:23 +04:00
|
|
|
|
public interface ICarLogic
|
2023-02-12 20:41:23 +04:00
|
|
|
|
{
|
2023-02-12 22:52:23 +04:00
|
|
|
|
List<CarViewModel>? ReadList(CarSearchModel? model);
|
|
|
|
|
CarViewModel? ReadElement(CarSearchModel model);
|
|
|
|
|
bool Create(CarBindingModel model);
|
|
|
|
|
bool Update(CarBindingModel model);
|
|
|
|
|
bool Delete(CarBindingModel model);
|
2023-02-12 20:41:23 +04:00
|
|
|
|
}
|
|
|
|
|
}
|