22 lines
583 B
C#
22 lines
583 B
C#
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 ICarStorage
|
|
{
|
|
List<CarView> GetFullList();
|
|
List<CarView> GetFilteredList(CarSearch model);
|
|
CarView? GetElement(CarSearch model);
|
|
CarView? Insert(CarDto model);
|
|
CarView? Update(CarDto model);
|
|
CarView? Delete(CarDto model);
|
|
}
|
|
}
|