PIbd-23_Minhasapov_R.H._Aut.../AutomobilePlant/AutomobilePlantContracts/StorageContracts/ICarStorage.cs

22 lines
678 B
C#
Raw Normal View History

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);
}
}