2023-02-12 22:52:23 +04:00
|
|
|
|
using AutomobilePlantContracts.ViewModels;
|
|
|
|
|
using AutomobilePlantContracts.SearchModels;
|
|
|
|
|
using AutomobilePlantContracts.BindingModels;
|
|
|
|
|
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.StorageContracts
|
|
|
|
|
{
|
2023-02-12 22:52:23 +04:00
|
|
|
|
public interface ICarStorage
|
2023-02-12 20:41:23 +04:00
|
|
|
|
{
|
2023-02-12 22:52:23 +04:00
|
|
|
|
List<CarViewModel> GetFullList();
|
|
|
|
|
List<CarViewModel> GetFilteredList(CarSearchModel model);
|
|
|
|
|
CarViewModel? GetElement(CarSearchModel model);
|
|
|
|
|
CarViewModel? Insert(CarBindingModel model);
|
|
|
|
|
CarViewModel? Update(CarBindingModel model);
|
|
|
|
|
CarViewModel? Delete(CarBindingModel model);
|
2023-02-12 20:41:23 +04:00
|
|
|
|
}
|
|
|
|
|
}
|