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

21 lines
541 B
C#

using CarShowroomDataModels.Views;
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);
}
}