SUBD_PIbd-23_ZakharovRA/CarShowroom/CarShowroomContracts/StorageContracts/IMakeStorage.cs

22 lines
595 B
C#
Raw Normal View History

2024-05-05 22:02:53 +04:00
using CarShowroomDataModels.Dtos;
using CarShowroomDataModels.SearchModel;
using CarShowroomDataModels.Views;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace CarShowroomContracts.StorageContracts
{
public interface IMakeStorage
{
List<MakeView> GetFullList();
List<MakeView> GetFilteredList(MakeSearch model);
MakeView? GetElement(MakeSearch model);
MakeView? Insert(MakeDto model);
MakeView? Update(MakeDto model);
MakeView? Delete(MakeDto model);
}
}