SUBD_PIbd-23_ZakharovRA/CarShowroom/CarShowroomContracts/BusinessLogic/IModelBusinessLogic.cs

21 lines
541 B
C#
Raw Normal View History

2024-05-06 11:49:22 +04:00
using CarShowroomDataModels.Views;
2024-05-05 22:02:53 +04:00
using CarShowroomDataModels.SearchModel;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using CarShowroomDataModels.Dtos;
namespace CarShowroomContracts.BusinessLogic
{
public interface IModelLogic
{
List<ModelView>? ReadList(ModelSearch? model);
ModelView? ReadElement(ModelSearch model);
bool Create(ModelDto model);
bool Update(ModelDto model);
bool Delete(ModelDto model);
}
}