2023-02-12 16:08:29 +03:00
|
|
|
|
using AutomobilePlantContracts.BindingModels;
|
|
|
|
|
using AutomobilePlantContracts.SearchModel;
|
|
|
|
|
using AutomobilePlantContracts.ViewModel;
|
2023-02-12 12:21:10 +03:00
|
|
|
|
using System;
|
|
|
|
|
using System.Collections.Generic;
|
|
|
|
|
using System.Linq;
|
|
|
|
|
using System.Text;
|
|
|
|
|
using System.Threading.Tasks;
|
|
|
|
|
|
2023-02-12 16:08:29 +03:00
|
|
|
|
namespace AutomobilePlantContracts.BusinessLogicsContracts
|
2023-02-12 12:21:10 +03:00
|
|
|
|
{
|
2023-04-19 15:41:28 +03:00
|
|
|
|
public interface ICarLogic
|
2023-02-12 12:21:10 +03:00
|
|
|
|
{
|
2023-04-19 15:41:28 +03: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 12:21:10 +03:00
|
|
|
|
}
|
|
|
|
|
}
|