21 lines
525 B
C#
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);
|
|
}
|
|
}
|