PIbd22_NikiforovaMV_Automob.../AutomobilePlantContracts/StorageContracts/ICarStorage.cs

22 lines
678 B
C#
Raw Permalink Normal View History

2024-04-17 10:13:26 +04:00
using AutomobilePlantContracts.ViewModels;
using AutomobilePlantContracts.SearchModels;
using AutomobilePlantContracts.BindingModels;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace AutomobilePlantContracts.StorageContracts
{
public interface ICarStorage
{
List<CarViewModel> GetFullList();
List<CarViewModel> GetFilteredList(CarSearchModel model);
CarViewModel? GetElement(CarSearchModel model);
CarViewModel? Insert(CarBindingModel model);
CarViewModel? Update(CarBindingModel model);
CarViewModel? Delete(CarBindingModel model);
}
}