22 lines
574 B
C#
22 lines
574 B
C#
using CarShowroomContracts.Dtos;
|
|
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);
|
|
}
|
|
}
|