SUBD_PIbd-23_ZakharovRA/CarShowroom/CarShowroomContracts/BusinessLogic/ICarLogic.cs
2024-05-05 22:02:53 +04:00

21 lines
525 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.BusinessLogic
{
public interface ICarLogic
{
List<CarView>? ReadList(CarSearch? model);
CarView? ReadElement(CarSearch model);
bool Create(CarDto model);
bool Update(CarDto model);
bool Delete(CarDto model);
}
}