22 lines
607 B
C#
22 lines
607 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 IModelStorage
|
|
{
|
|
List<ModelView> GetFullList();
|
|
List<ModelView> GetFilteredList(ModelSearch model);
|
|
ModelView? GetElement(ModelSearch model);
|
|
ModelView? Insert(ModelDto model);
|
|
ModelView? Update(ModelDto model);
|
|
ModelView? Delete(ModelDto model);
|
|
}
|
|
}
|